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.001971/0.001971, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002731/0.002731, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.3476/0.3476, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.323e-06/1.323e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.832e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01472/0.01475, allocations: 10.42 MB / 387.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009432/0.02418, allocations: 3.918 MB / 391.6 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.02639, allocations: 87.69 kB / 391.7 MB, free: 4.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.03082, allocations: 1.724 MB / 393.4 MB, free: 2.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.03546, allocations: 1.606 MB / 395 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.03823, allocations: 1.247 MB / 396.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005827/0.04406, allocations: 3.557 MB / 399.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.04695, allocations: 2.055 MB / 401.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.04944, allocations: 1.719 MB / 403.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.05199, allocations: 1.625 MB / 405.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004931/0.05248, allocations: 236 kB / 405.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.05381, allocations: 0.6787 MB / 406.1 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001835/0.05564, allocations: 1.636 MB / 407.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.05702, allocations: 0.9495 MB / 408.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007821/0.06484, allocations: 6.03 MB / 414.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.06485, allocations: 3.984 kB / 414.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.06485, allocations: 0 / 414.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.06501, allocations: 0 / 414.8 MB, free: 13.28 MB / 394.7 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.007752/0.07276, allocations: 3.964 MB / 418.7 MB, free: 9.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.07281, allocations: 12.02 kB / 418.7 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.08434, allocations: 3.598 MB / 422.3 MB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.08924, allocations: 1.778 MB / 424.1 MB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.08946, allocations: 201 kB / 424.3 MB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/0.09021, allocations: 240.2 kB / 424.5 MB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.1086, allocations: 10.06 MB / 434.6 MB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.883e-05/0.1087, allocations: 31.69 kB / 434.6 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.1091, allocations: 123.8 kB / 434.8 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004152/0.1132, allocations: 2.317 MB / 437.1 MB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2176/0.3308, allocations: 8.915 MB / 446 MB, free: 94.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03798/0.3688, allocations: 35.21 MB / 481.2 MB, free: 69.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.3735, allocations: 2.419 MB / 483.6 MB, free: 69.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.3749, allocations: 1.132 MB / 484.7 MB, free: 68.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007411/0.3823, allocations: 4.564 MB / 489.3 MB, free: 66.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3823, allocations: 60.44 kB / 489.4 MB, free: 66.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.59e-06/0.3823, allocations: 3.984 kB / 489.4 MB, free: 66.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.006643/0.389, allocations: 3.456 MB / 492.8 MB, free: 65.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.389, allocations: 170.4 kB / 493 MB, free: 65.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/0.3936, allocations: 3.752 MB / 496.7 MB, free: 64.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.3937, allocations: 45.44 kB / 496.8 MB, free: 64.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.3953, allocations: 3.294 MB / 0.4884 GB, free: 61.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.3958, allocations: 0.6217 MB / 0.489 GB, free: 61.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/0.3973, allocations: 1.294 MB / 0.4902 GB, free: 60.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3974, allocations: 358.9 kB / 0.4906 GB, free: 60.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/0.3996, allocations: 1.952 MB / 0.4925 GB, free: 59.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00387/0.4035, allocations: 6.111 MB / 0.4984 GB, free: 53.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007384/0.4109, allocations: 8.789 MB / 0.507 GB, free: 44.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.411, allocations: 44 kB / 0.5071 GB, free: 44.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01053/0.4215, allocations: 8.037 MB / 0.5149 GB, free: 37.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.4216, allocations: 73.66 kB / 0.515 GB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.4217, allocations: 148 kB / 0.5151 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.4219, allocations: 192.7 kB / 0.5153 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.4255, allocations: 1.454 MB / 0.5167 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001763/0.4257, allocations: 290.2 kB / 0.517 GB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004198/0.4299, allocations: 0.9072 MB / 0.5179 GB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000452/0.4303, allocations: 398.3 kB / 0.5183 GB, free: 34.19 MB / 410.7 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.00263/0.433, allocations: 2.199 MB / 0.5204 GB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004293/0.4334, allocations: 333.9 kB / 0.5207 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.434, allocations: 385.8 kB / 0.5211 GB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.936e-05/0.434, allocations: 39.89 kB / 0.5212 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/0.434, allocations: 0 / 0.5212 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4341, allocations: 3.797 kB / 0.5212 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006146/0.4402, allocations: 4.375 MB / 0.5254 GB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.4402, allocations: 4 kB / 0.5254 GB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.441, allocations: 206.8 kB / 0.5256 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.441, allocations: 8 kB / 0.5256 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.4411, allocations: 34.84 kB / 0.5257 GB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.4411, allocations: 11.94 kB / 0.5257 GB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4411, allocations: 12 kB / 0.5257 GB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.4433, allocations: 2.546 MB / 0.5282 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/0.4438, allocations: 279.2 kB / 0.5284 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.444, allocations: 28.7 kB / 0.5285 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.4449, allocations: 60.72 kB / 0.5285 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.445, allocations: 91.52 kB / 0.5286 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/0.4451, allocations: 42.11 kB / 0.5287 GB, free: 24.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002208/0.4473, allocations: 2.093 MB / 0.5307 GB, free: 22.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4473, allocations: 0 / 0.5307 GB, free: 22.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004641/0.452, allocations: 1.108 MB / 0.5318 GB, free: 21.68 MB / 410.7 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 (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.0003091/0.4523, allocations: 157.3 kB / 0.5319 GB, free: 21.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005405/0.4577, allocations: 4.254 MB / 0.5361 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4577, allocations: 5.875 kB / 0.5361 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008383/0.4585, allocations: 0.8795 MB / 0.537 GB, free: 16.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.4601, allocations: 299.1 kB / 0.5372 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/0.47, allocations: 8.448 MB / 0.5455 GB, free: 7.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/0.4724, allocations: 2.622 MB / 0.548 GB, free: 4.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00379/0.4762, allocations: 2.187 MB / 0.5502 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.4766, allocations: 208.5 kB / 0.5504 GB, free: 2.516 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.4766, allocations: 0 / 0.5504 GB, free: 2.516 MB / 410.7 MB Notification: Performance of Templates: time 0.04449/0.5211, allocations: 17.02 MB / 0.567 GB, free: 1.953 MB / 426.7 MB " [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.338921305956319]