Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001503/0.001503, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002008/0.002008, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.2 MB / 204.3 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.056e-05, allocations: 9.516 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2606/0.2606, allocations: 10.41 MB / 453.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.2688, allocations: 3.909 MB / 457 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.2716, allocations: 87.62 kB / 457.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003768/0.2754, allocations: 1.699 MB / 458.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.2807, allocations: 1.61 MB / 460.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.2846, allocations: 1.215 MB / 461.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00895/0.2935, allocations: 3.569 MB / 465.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/0.2967, allocations: 1.993 MB / 467.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.2996, allocations: 1.716 MB / 468.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.3018, allocations: 1.623 MB / 470.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004732/0.3023, allocations: 240 kB / 470.7 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3036, allocations: 0.6789 MB / 471.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.3048, allocations: 1.64 MB / 473.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.3059, allocations: 0.9421 MB / 474 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.3119, allocations: 6.029 MB / 480 MB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.3119, allocations: 7.984 kB / 480 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3119, allocations: 0 / 480 MB, free: 15.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001766/0.312, allocations: 0 / 480 MB, free: 15.89 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.009849/0.3219, allocations: 3.955 MB / 484 MB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3219, allocations: 12.03 kB / 484 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.3334, allocations: 3.028 MB / 487 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.3389, allocations: 1.775 MB / 488.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.3391, allocations: 193.1 kB / 489 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/0.3399, allocations: 248.2 kB / 489.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.3588, allocations: 10.05 MB / 499.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.669e-05/0.3589, allocations: 31.69 kB / 499.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.3594, allocations: 127.8 kB / 499.4 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004225/0.3636, allocations: 2.315 MB / 0.49 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.3819, allocations: 8.92 MB / 0.4987 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05447/0.4363, allocations: 35.13 MB / 0.533 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005851/0.4422, allocations: 2.414 MB / 0.5354 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.4441, allocations: 1.131 MB / 0.5365 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009723/0.4539, allocations: 4.559 MB / 0.5409 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.4539, allocations: 47.22 kB / 0.541 GB, free: 4.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 7.043e-06/0.4539, allocations: 0 / 0.541 GB, free: 4.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.008053/0.462, allocations: 3.428 MB / 0.5443 GB, free: 1.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.4621, allocations: 166.9 kB / 0.5445 GB, free: 1.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006444/0.4686, allocations: 3.756 MB / 0.5481 GB, free: 13.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.4688, allocations: 53.56 kB / 0.5482 GB, free: 13.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00318/0.472, allocations: 3.298 MB / 0.5514 GB, free: 9.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.473, allocations: 0.6165 MB / 0.552 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002032/0.475, allocations: 1.298 MB / 0.5533 GB, free: 8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.4753, allocations: 353.9 kB / 0.5536 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/0.4785, allocations: 1.949 MB / 0.5555 GB, free: 5.695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007463/0.486, allocations: 6.112 MB / 0.5615 GB, free: 13.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/0.4987, allocations: 8.781 MB / 0.5701 GB, free: 2.648 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001903/0.4989, allocations: 44 kB / 0.5701 GB, free: 2.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01746/0.5163, allocations: 7.693 MB / 0.5776 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.5165, allocations: 68 kB / 0.5777 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/0.5167, allocations: 152.2 kB / 0.5778 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.5169, allocations: 192 kB / 0.578 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004933/0.5218, allocations: 1.462 MB / 0.5794 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002723/0.5221, allocations: 290.8 kB / 0.5797 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/0.5272, allocations: 0.8958 MB / 0.5806 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/0.5282, allocations: 400.9 kB / 0.581 GB, free: 7.473 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.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 (791): * Single equations (assignments): 783 * 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.004765/0.533, allocations: 2.2 MB / 0.5831 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/0.5337, allocations: 294 kB / 0.5834 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.5347, allocations: 380.4 kB / 0.5838 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.324e-05/0.5348, allocations: 43.97 kB / 0.5838 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.5348, allocations: 0 / 0.5838 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.5349, allocations: 15.89 kB / 0.5838 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.5453, allocations: 4.374 MB / 0.5881 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.5453, allocations: 4 kB / 0.5881 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.5464, allocations: 208 kB / 0.5883 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.5464, allocations: 8 kB / 0.5883 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5465, allocations: 31.98 kB / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.916e-05/0.5465, allocations: 16.5 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.5465, allocations: 7.938 kB / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.5502, allocations: 2.521 MB / 0.5908 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007896/0.551, allocations: 281.8 kB / 0.5911 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/0.5513, allocations: 24 kB / 0.5911 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/0.5523, allocations: 71.84 kB / 0.5912 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.5525, allocations: 92.12 kB / 0.5913 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.5526, allocations: 36 kB / 0.5913 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003961/0.5566, allocations: 2.099 MB / 0.5934 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5566, allocations: 4 kB / 0.5934 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00625/0.5628, allocations: 1.099 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB 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 (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.0005709/0.5634, allocations: 154.9 kB / 0.5946 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008483/0.5719, allocations: 4.255 MB / 0.5987 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/0.5719, allocations: 0 / 0.5987 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.5734, allocations: 0.876 MB / 0.5996 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.5763, allocations: 303.1 kB / 0.5999 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/0.5949, allocations: 8.318 MB / 0.608 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00392/0.5989, allocations: 2.616 MB / 0.6106 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005141/0.604, allocations: 2.19 MB / 0.6127 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/0.6046, allocations: 212.5 kB / 0.6129 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/0.6046, allocations: 0 / 0.6129 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of Templates: time 0.04985/0.6544, allocations: 16.85 MB / 0.6294 GB, free: 6.008 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.538949456065893]