Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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: 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 93.45 kB / 17 MB, free: 6.418 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.001123/0.001123, allocations: 186.3 kB / 17.89 MB, free: 5.945 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.457/1.457, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003993, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02243/0.1756, allocations: 23.34 MB / 494.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.1911, allocations: 5.93 MB / 0.4891 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005149/0.1963, allocations: 115.8 kB / 0.4892 GB, free: 228 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.1991, allocations: 1.116 MB / 0.4903 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009016/0.2081, allocations: 3.339 MB / 0.4936 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.2092, allocations: 215.5 kB / 0.4938 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005732/0.215, allocations: 3.848 MB / 0.4975 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/0.2193, allocations: 2.813 MB / 0.5003 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.2212, allocations: 1 MB / 0.5013 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.2233, allocations: 1.534 MB / 0.5028 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.2237, allocations: 124 kB / 0.5029 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.2249, allocations: 0.5344 MB / 0.5034 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.2264, allocations: 1.434 MB / 0.5048 GB, free: 188 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3012/0.5276, allocations: 0.7629 MB / 0.5056 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007521/0.5351, allocations: 4.793 MB / 0.5102 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.577e-06/0.5352, allocations: 1.156 kB / 0.5102 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.5352, allocations: 0 / 0.5102 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002804/0.5355, allocations: 1.031 kB / 0.5102 GB, free: 13.84 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.008328/0.5438, allocations: 3.363 MB / 0.5135 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5438, allocations: 8.906 kB / 0.5135 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.5543, allocations: 3.082 MB / 0.5165 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/0.56, allocations: 1.798 MB / 0.5183 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.5603, allocations: 191.6 kB / 0.5185 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.5613, allocations: 253.7 kB / 0.5187 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.581, allocations: 10.21 MB / 0.5287 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/0.5812, allocations: 31.56 kB / 0.5287 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004819/0.5816, allocations: 124.9 kB / 0.5288 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003564/0.5852, allocations: 2.387 MB / 0.5312 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.6013, allocations: 9.031 MB / 0.54 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05196/0.6533, allocations: 38.15 MB / 0.5772 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/0.659, allocations: 3.377 MB / 0.5805 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.6608, allocations: 1.223 MB / 0.5817 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008851/0.6697, allocations: 5.187 MB / 0.5868 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.6698, allocations: 49.94 kB / 0.5869 GB, free: 9.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.078e-06/0.6698, allocations: 0 / 0.5869 GB, free: 9.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.006941/0.6767, allocations: 3.316 MB / 0.5901 GB, free: 6.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6768, allocations: 168.5 kB / 0.5903 GB, free: 6.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006346/0.6832, allocations: 3.851 MB / 0.594 GB, free: 2.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.6833, allocations: 47.62 kB / 0.5941 GB, free: 2.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.6857, allocations: 3.227 MB / 0.5972 GB, free: 15.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007242/0.6865, allocations: 0.5996 MB / 0.5978 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.6868, allocations: 128 kB / 0.5979 GB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004187/0.6872, allocations: 0.5907 MB / 0.5985 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/0.6902, allocations: 1.937 MB / 0.6004 GB, free: 11.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006072/0.6963, allocations: 6.127 MB / 0.6064 GB, free: 3.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005237/0.7016, allocations: 3.455 MB / 0.6097 GB, free: 460 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.953e-05/0.7017, allocations: 44 kB / 0.6098 GB, free: 416 kB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01418/0.7158, allocations: 7.701 MB / 0.6173 GB, free: 9.598 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.716, allocations: 68.94 kB / 0.6174 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002222/0.7162, allocations: 149.6 kB / 0.6175 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.7165, allocations: 218.9 kB / 0.6177 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/0.7213, allocations: 1.468 MB / 0.6192 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002789/0.7216, allocations: 290.9 kB / 0.6194 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005328/0.727, allocations: 0.9159 MB / 0.6203 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/0.7281, allocations: 403.9 kB / 0.6207 GB, free: 6.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (797): * Single equations (assignments): 789 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00532/0.7335, allocations: 2.234 MB / 0.6229 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008083/0.7343, allocations: 313.5 kB / 0.6232 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.7356, allocations: 407.4 kB / 0.6236 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.081e-05/0.7357, allocations: 43.66 kB / 0.6236 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.7357, allocations: 0 / 0.6236 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.7357, allocations: 7.984 kB / 0.6236 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.7501, allocations: 5.532 MB / 0.629 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.7502, allocations: 4 kB / 0.629 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7512, allocations: 207.7 kB / 0.6292 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.471e-05/0.7513, allocations: 16.61 kB / 0.6293 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.7514, allocations: 27.98 kB / 0.6293 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/0.7515, allocations: 15.94 kB / 0.6293 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.7515, allocations: 8 kB / 0.6293 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.7548, allocations: 2.521 MB / 0.6318 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/0.7557, allocations: 388.6 kB / 0.6321 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007691/0.7565, allocations: 28.27 kB / 0.6322 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.7581, allocations: 65.98 kB / 0.6322 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.7583, allocations: 76.38 kB / 0.6323 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.7584, allocations: 55.73 kB / 0.6324 GB, free: 10.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005265/0.7637, allocations: 2.339 MB / 0.6346 GB, free: 7.777 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7637, allocations: 0 / 0.6346 GB, free: 7.777 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006901/0.7706, allocations: 1.101 MB / 0.6357 GB, free: 6.676 MB / 478.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 (108): * Single equations (assignments): 102 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005598/0.7712, allocations: 154.2 kB / 0.6359 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008224/0.7794, allocations: 4.41 MB / 0.6402 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.7794, allocations: 4 kB / 0.6402 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.7809, allocations: 0.9508 MB / 0.6411 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.7839, allocations: 352 kB / 0.6414 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/0.807, allocations: 10.04 MB / 0.6512 GB, free: 6.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006777/0.8138, allocations: 3.207 MB / 0.6544 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007096/0.8209, allocations: 2.238 MB / 0.6565 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009794/0.8219, allocations: 219.4 kB / 0.6568 GB, free: 1.031 MB / 494.1 MB Notification: Performance of SimCode: time 3.086e-06/0.8219, allocations: 4 kB / 0.6568 GB, free: 1.027 MB / 494.1 MB Notification: Performance of Templates: time 0.05262/0.8746, allocations: 23.69 MB / 0.6799 GB, free: 9.508 MB / 0.5138 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches