Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.8 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008018/0.0008018, allocations: 94.25 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2005/0.2005, allocations: 43.68 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003377, allocations: 8 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 58.86 MB / 491.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02329/0.1466, allocations: 23.77 MB / 0.5029 GB, free: 296 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.1626, allocations: 8.569 MB / 0.5112 GB, free: 7.129 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005239/0.1679, allocations: 119.7 kB / 0.5114 GB, free: 7.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1693, allocations: 454 kB / 0.5118 GB, free: 6.566 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.1736, allocations: 1.53 MB / 0.5133 GB, free: 5.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.1745, allocations: 227.5 kB / 0.5135 GB, free: 4.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.251/0.4255, allocations: 5.13 MB / 0.5185 GB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005785/0.4313, allocations: 3.659 MB / 0.5221 GB, free: 13.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.4336, allocations: 1.053 MB / 0.5231 GB, free: 13.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.4363, allocations: 1.628 MB / 0.5247 GB, free: 13.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005655/0.4369, allocations: 129.9 kB / 0.5248 GB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4385, allocations: 0.6182 MB / 0.5254 GB, free: 13.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.4405, allocations: 1.527 MB / 0.5269 GB, free: 13.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.4426, allocations: 1.871 MB / 0.5287 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008197/0.4508, allocations: 5.989 MB / 0.5346 GB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4509, allocations: 0 / 0.5346 GB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4509, allocations: 0 / 0.5346 GB, free: 11.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002493/0.4511, allocations: 0 / 0.5346 GB, free: 11.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.008268/0.4594, allocations: 3.407 MB / 0.5379 GB, free: 9.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4595, allocations: 9.375 kB / 0.5379 GB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00932/0.4688, allocations: 3.101 MB / 0.541 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004222/0.473, allocations: 1.852 MB / 0.5428 GB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.4732, allocations: 198.5 kB / 0.543 GB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007426/0.474, allocations: 269.8 kB / 0.5432 GB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.4881, allocations: 10.5 MB / 0.5535 GB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.286e-05/0.4883, allocations: 30.28 kB / 0.5535 GB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003579/0.4886, allocations: 126.8 kB / 0.5536 GB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003067/0.4917, allocations: 2.442 MB / 0.556 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.5068, allocations: 9.329 MB / 0.5651 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0518/0.5587, allocations: 38.95 MB / 0.6032 GB, free: 4.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005892/0.5646, allocations: 3.494 MB / 0.6066 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.5665, allocations: 1.262 MB / 0.6078 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009625/0.5761, allocations: 5.457 MB / 0.6131 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.5762, allocations: 50.22 kB / 0.6132 GB, free: 9.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 5.49e-06/0.5762, allocations: 0 / 0.6132 GB, free: 9.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.006872/0.5831, allocations: 3.342 MB / 0.6164 GB, free: 6.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/0.5832, allocations: 169.8 kB / 0.6166 GB, free: 6.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006051/0.5893, allocations: 3.924 MB / 0.6204 GB, free: 2.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.5894, allocations: 44.98 kB / 0.6205 GB, free: 2.246 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.5917, allocations: 3.317 MB / 0.6237 GB, free: 14.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007081/0.5924, allocations: 0.6225 MB / 0.6243 GB, free: 14.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.5927, allocations: 131.1 kB / 0.6244 GB, free: 14.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000415/0.5931, allocations: 0.6027 MB / 0.625 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.596, allocations: 1.977 MB / 0.627 GB, free: 11.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006288/0.6023, allocations: 6.282 MB / 0.6331 GB, free: 3.238 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009899/0.6122, allocations: 9.034 MB / 0.6419 GB, free: 8.668 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/0.6123, allocations: 44 kB / 0.642 GB, free: 8.625 MB / 458.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01345/0.6258, allocations: 7.865 MB / 0.6496 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.836e-05/0.6259, allocations: 68 kB / 0.6497 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/0.6261, allocations: 152 kB / 0.6499 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.6263, allocations: 200 kB / 0.65 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/0.6321, allocations: 1.517 MB / 0.6515 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003003/0.6325, allocations: 298.8 kB / 0.6518 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006015/0.6385, allocations: 0.9467 MB / 0.6527 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/0.6398, allocations: 415.9 kB / 0.6531 GB, free: 13.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 811 * Array equations: 8 * 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.004781/0.6446, allocations: 2.28 MB / 0.6554 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006267/0.6452, allocations: 315.8 kB / 0.6557 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.646, allocations: 424.2 kB / 0.6561 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/0.6461, allocations: 36.31 kB / 0.6561 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.6461, allocations: 4 kB / 0.6561 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.6461, allocations: 7.969 kB / 0.6561 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009413/0.6555, allocations: 5.695 MB / 0.6617 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.6556, allocations: 11.98 kB / 0.6617 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009075/0.6565, allocations: 203.7 kB / 0.6619 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.6565, allocations: 12.75 kB / 0.6619 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.6566, allocations: 30.97 kB / 0.6619 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.6566, allocations: 23.92 kB / 0.6619 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.6566, allocations: 8 kB / 0.662 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.6597, allocations: 2.57 MB / 0.6645 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007957/0.6605, allocations: 396.5 kB / 0.6648 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/0.6608, allocations: 39.5 kB / 0.6649 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/0.6618, allocations: 63.92 kB / 0.6649 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.662, allocations: 96.16 kB / 0.665 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.6621, allocations: 48 kB / 0.6651 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004067/0.6661, allocations: 2.381 MB / 0.6674 GB, free: 14.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6662, allocations: 0 / 0.6674 GB, free: 14.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005198/0.6714, allocations: 1.129 MB / 0.6685 GB, free: 13.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * 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.0004221/0.6718, allocations: 170.8 kB / 0.6687 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007715/0.6795, allocations: 4.492 MB / 0.6731 GB, free: 8.816 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6796, allocations: 4 kB / 0.6731 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.6809, allocations: 0.9644 MB / 0.674 GB, free: 7.852 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/0.6857, allocations: 348 kB / 0.6743 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.7036, allocations: 10.74 MB / 0.6848 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/0.7072, allocations: 3.28 MB / 0.688 GB, free: 9.348 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.005497/0.7127, allocations: 2.283 MB / 0.6902 GB, free: 7.055 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.7132, allocations: 227.4 kB / 0.6905 GB, free: 6.832 MB / 0.4949 GB Notification: Performance of SimCode: time 8.72e-07/0.7132, allocations: 0 / 0.6905 GB, free: 6.832 MB / 0.4949 GB Notification: Performance of Templates: time 0.2801/0.9933, allocations: 24.61 MB / 0.7145 GB, free: 181.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches