Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 109 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.17 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 64.39 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1252, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03579/0.1611, allocations: 37.69 MB / 0.4946 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.1791, allocations: 7.529 MB / 0.502 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008723/0.1879, allocations: 155.7 kB / 0.5021 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2515/0.4394, allocations: 1.923 MB / 0.504 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.4431, allocations: 1.06 MB / 0.5051 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4442, allocations: 268.1 kB / 0.5053 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004161/0.4483, allocations: 2.348 MB / 0.5076 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/0.4517, allocations: 2.455 MB / 0.51 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4534, allocations: 0.9119 MB / 0.5109 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.4551, allocations: 1.286 MB / 0.5121 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000375/0.4555, allocations: 198.7 kB / 0.5123 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.4571, allocations: 0.7133 MB / 0.513 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.4584, allocations: 1.16 MB / 0.5142 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.4599, allocations: 1.358 MB / 0.5155 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006541/0.4664, allocations: 4.32 MB / 0.5197 GB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.4665, allocations: 2.812 kB / 0.5197 GB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.4665, allocations: 0.5156 kB / 0.5197 GB, free: 8.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002254/0.4667, allocations: 0 / 0.5197 GB, free: 8.965 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.009174/0.4759, allocations: 2.944 MB / 0.5226 GB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.476, allocations: 10.09 kB / 0.5226 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008236/0.4768, allocations: 495.8 kB / 0.5231 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.4816, allocations: 1.587 MB / 0.5246 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.4839, allocations: 1.349 MB / 0.5259 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.484, allocations: 144.1 kB / 0.5261 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.4843, allocations: 195.1 kB / 0.5263 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008913/0.4932, allocations: 6.429 MB / 0.5325 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/0.4933, allocations: 13.72 kB / 0.5326 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.4936, allocations: 86.03 kB / 0.5326 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/0.4954, allocations: 1.404 MB / 0.534 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009862/0.5053, allocations: 5.491 MB / 0.5394 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/0.5379, allocations: 20.55 MB / 0.5594 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004604/0.5426, allocations: 2.09 MB / 0.5615 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.5438, allocations: 0.6875 MB / 0.5622 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006581/0.5504, allocations: 3.51 MB / 0.5656 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.5504, allocations: 39 kB / 0.5656 GB, free: 2.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.126e-06/0.5504, allocations: 0 / 0.5656 GB, free: 2.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005468/0.5559, allocations: 1.979 MB / 0.5675 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.556, allocations: 61.41 kB / 0.5676 GB, free: 0.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.5597, allocations: 1.966 MB / 0.5695 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.5598, allocations: 33.7 kB / 0.5696 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.5612, allocations: 1.882 MB / 0.5714 GB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.5616, allocations: 304.5 kB / 0.5717 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.5627, allocations: 0.6261 MB / 0.5723 GB, free: 11.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5628, allocations: 357.9 kB / 0.5726 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.5643, allocations: 0.8959 MB / 0.5735 GB, free: 10.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/0.567, allocations: 2.768 MB / 0.5762 GB, free: 6.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004356/0.5714, allocations: 4.004 MB / 0.5801 GB, free: 2.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-05/0.5714, allocations: 16 kB / 0.5801 GB, free: 2.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005934/0.5774, allocations: 3.551 MB / 0.5836 GB, free: 15.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.5775, allocations: 32 kB / 0.5836 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.5776, allocations: 68 kB / 0.5837 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.635e-05/0.5777, allocations: 91.94 kB / 0.5838 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.5797, allocations: 0.6598 MB / 0.5844 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.5798, allocations: 128.1 kB / 0.5846 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.5819, allocations: 431.8 kB / 0.585 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.5823, allocations: 192 kB / 0.5852 GB, free: 13.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00248/0.5848, allocations: 1.372 MB / 0.5865 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.5851, allocations: 157.9 kB / 0.5866 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.5855, allocations: 193.2 kB / 0.5868 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.5856, allocations: 19.94 kB / 0.5868 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.5856, allocations: 0 / 0.5868 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5856, allocations: 0 / 0.5868 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008344/0.5939, allocations: 4.145 MB / 0.5909 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.594, allocations: 8.75 kB / 0.5909 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.5944, allocations: 95.86 kB / 0.591 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.5944, allocations: 15.98 kB / 0.591 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.5944, allocations: 20 kB / 0.591 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.5945, allocations: 10.62 kB / 0.591 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.5945, allocations: 10.62 kB / 0.5911 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.5959, allocations: 1.24 MB / 0.5923 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.5963, allocations: 250.7 kB / 0.5925 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.5965, allocations: 14.27 kB / 0.5925 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.597, allocations: 35.88 kB / 0.5925 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.5971, allocations: 53.52 kB / 0.5926 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.5971, allocations: 28 kB / 0.5926 GB, free: 5.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.5988, allocations: 1.283 MB / 0.5939 GB, free: 4.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5988, allocations: 0 / 0.5939 GB, free: 4.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00256/0.6014, allocations: 0.7103 MB / 0.5946 GB, free: 3.781 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/0.6032, allocations: 1.849 MB / 0.5964 GB, free: 1.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003214/0.6064, allocations: 2.252 MB / 0.5986 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6064, allocations: 0 / 0.5986 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.607, allocations: 457.5 kB / 0.599 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.6082, allocations: 256.4 kB / 0.5993 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03393/0.6421, allocations: 23.58 MB / 0.6223 GB, free: 4.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/0.6456, allocations: 2.327 MB / 0.6246 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002341/0.648, allocations: 0.9638 MB / 0.6255 GB, free: 1.391 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/0.6497, allocations: 1.069 MB / 0.6265 GB, free: 328 kB / 478.1 MB Notification: Performance of SimCode: time 2.895e-06/0.6497, allocations: 4 kB / 0.6265 GB, free: 324 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/0.7076, allocations: 32.35 MB / 0.6581 GB, free: 164 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.7079, allocations: 190.8 kB / 0.6583 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.388, allocations: 3.938 kB / 0.6583 GB, free: 15.91 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches