Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 213.3 kB / 22.98 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2419/0.2419, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 71.28 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1373, allocations: 61.04 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01525/0.1525, allocations: 10.83 MB / 0.5272 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1631, allocations: 3.888 MB / 0.531 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.1662, allocations: 91.69 kB / 0.5311 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004253/0.1705, allocations: 1.654 MB / 0.5327 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005623/0.1761, allocations: 1.635 MB / 0.5343 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.1792, allocations: 1.165 MB / 0.5354 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2943/0.4735, allocations: 3.604 MB / 0.539 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004261/0.4778, allocations: 2.06 MB / 0.541 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.481, allocations: 1.241 MB / 0.5422 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.4844, allocations: 1.762 MB / 0.5439 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008549/0.4852, allocations: 253.5 kB / 0.5442 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.4872, allocations: 0.6256 MB / 0.5448 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.4892, allocations: 1.69 MB / 0.5464 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.4912, allocations: 1.395 MB / 0.5478 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.5017, allocations: 6.574 MB / 0.5542 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5017, allocations: 0 / 0.5542 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.5017, allocations: 0 / 0.5542 GB, free: 8.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.502, allocations: 0 / 0.5542 GB, free: 8.617 MB / 414.1 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.01144/0.5134, allocations: 4.232 MB / 0.5583 GB, free: 6.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5135, allocations: 12.66 kB / 0.5583 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.5241, allocations: 3.044 MB / 0.5613 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005009/0.5291, allocations: 1.831 MB / 0.5631 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.5292, allocations: 206.2 kB / 0.5633 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006753/0.5299, allocations: 257.3 kB / 0.5635 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.5489, allocations: 10.53 MB / 0.5738 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-05/0.549, allocations: 29.38 kB / 0.5739 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/0.5495, allocations: 131.7 kB / 0.574 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004311/0.5538, allocations: 2.445 MB / 0.5764 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.5717, allocations: 9.351 MB / 0.5855 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05957/0.6313, allocations: 36.1 MB / 0.6208 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009414/0.6407, allocations: 2.44 MB / 0.6231 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/0.6438, allocations: 1.169 MB / 0.6243 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01532/0.6592, allocations: 4.735 MB / 0.6289 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/0.6592, allocations: 54.44 kB / 0.629 GB, free: 12.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 7.203e-06/0.6592, allocations: 0 / 0.629 GB, free: 12.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.01209/0.6713, allocations: 3.347 MB / 0.6322 GB, free: 8.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.6715, allocations: 166.9 kB / 0.6324 GB, free: 8.746 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009682/0.6812, allocations: 3.867 MB / 0.6362 GB, free: 4.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005016/0.6817, allocations: 41.7 kB / 0.6362 GB, free: 4.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005451/0.6871, allocations: 3.495 MB / 0.6396 GB, free: 1.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001644/0.6887, allocations: 0.6489 MB / 0.6402 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005229/0.694, allocations: 1.36 MB / 0.6416 GB, free: 15.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003744/0.6943, allocations: 353.9 kB / 0.6419 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005683/0.7, allocations: 2 MB / 0.6439 GB, free: 12.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/0.71, allocations: 6.314 MB / 0.65 GB, free: 4.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/0.7233, allocations: 9.062 MB / 0.6589 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002484/0.7236, allocations: 44 kB / 0.6589 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.02066/0.7442, allocations: 7.917 MB / 0.6667 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.7445, allocations: 72 kB / 0.6667 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004482/0.745, allocations: 152 kB / 0.6669 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.7453, allocations: 200 kB / 0.6671 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006344/0.7517, allocations: 1.513 MB / 0.6685 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/0.7521, allocations: 294.8 kB / 0.6688 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007276/0.7593, allocations: 0.9269 MB / 0.6697 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/0.7612, allocations: 422.9 kB / 0.6701 GB, free: 14.3 MB / 0.5137 GB 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.007631/0.7688, allocations: 2.284 MB / 0.6724 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009594/0.7698, allocations: 309.9 kB / 0.6726 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.7714, allocations: 393.4 kB / 0.673 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.119e-05/0.7715, allocations: 32 kB / 0.6731 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.654e-05/0.7715, allocations: 4 kB / 0.6731 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.7715, allocations: 7.969 kB / 0.6731 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.7878, allocations: 4.506 MB / 0.6775 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.7879, allocations: 8 kB / 0.6775 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.7891, allocations: 215.7 kB / 0.6777 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.72e-05/0.7891, allocations: 8 kB / 0.6777 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.7893, allocations: 36.22 kB / 0.6777 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.108e-05/0.7893, allocations: 16.69 kB / 0.6777 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/0.7894, allocations: 4 kB / 0.6777 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.7937, allocations: 2.573 MB / 0.6803 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.7949, allocations: 290 kB / 0.6805 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007892/0.7956, allocations: 28 kB / 0.6806 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.7972, allocations: 68.53 kB / 0.6806 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.7974, allocations: 92.12 kB / 0.6807 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.7976, allocations: 46.89 kB / 0.6808 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005831/0.8034, allocations: 2.164 MB / 0.6829 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.8034, allocations: 0 / 0.6829 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009005/0.8124, allocations: 1.165 MB / 0.684 GB, free: 15.89 MB / 0.5294 GB 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.0008036/0.8132, allocations: 162.7 kB / 0.6842 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01086/0.8241, allocations: 4.365 MB / 0.6884 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.491e-05/0.8241, allocations: 0 / 0.6884 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.8261, allocations: 0.8899 MB / 0.6893 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.8297, allocations: 298.1 kB / 0.6896 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/0.8511, allocations: 8.704 MB / 0.6981 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/0.8559, allocations: 2.736 MB / 0.7007 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005745/0.8616, allocations: 2.242 MB / 0.7029 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/0.8623, allocations: 207.4 kB / 0.7031 GB, free: 12.18 MB / 0.545 GB Notification: Performance of SimCode: time 1.773e-06/0.8623, allocations: 0 / 0.7031 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Templates: time 0.05791/0.9202, allocations: 21.44 MB / 0.7241 GB, free: 6.871 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.017172550782561]