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.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.001852/0.001852, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001984/0.001984, allocations: 165.3 kB / 24.28 MB, free: 152 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.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3524/0.3524, allocations: 32.81 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.84e-05, allocations: 6.312 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01718/0.01721, allocations: 11.42 MB / 386.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.02691, allocations: 4.011 MB / 390.7 MB, free: 5.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.02902, allocations: 83.75 kB / 390.8 MB, free: 5.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004196/0.03321, allocations: 1.771 MB / 392.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.03745, allocations: 1.614 MB / 394.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.04036, allocations: 1.266 MB / 395.4 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005744/0.0461, allocations: 3.572 MB / 399 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.04964, allocations: 2.059 MB / 401.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.0526, allocations: 1.715 MB / 402.8 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.0554, allocations: 1.648 MB / 404.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005251/0.05592, allocations: 236 kB / 404.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.05736, allocations: 0.6787 MB / 405.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.05912, allocations: 1.651 MB / 407 MB, free: 5.105 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.06058, allocations: 0.9496 MB / 407.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008209/0.06879, allocations: 6.034 MB / 414 MB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.06879, allocations: 0 / 414 MB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.06879, allocations: 4 kB / 414 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001969/0.06899, allocations: 0 / 414 MB, free: 14.09 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.009464/0.07845, allocations: 4.839 MB / 418.8 MB, free: 9.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.0785, allocations: 12.03 kB / 418.8 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.09009, allocations: 3.489 MB / 422.3 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.09518, allocations: 1.679 MB / 424 MB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.09539, allocations: 201.1 kB / 424.2 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008601/0.09625, allocations: 248.2 kB / 424.4 MB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.1097, allocations: 5.999 MB / 430.4 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.249e-05/0.1098, allocations: 31.69 kB / 430.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/0.1102, allocations: 123.8 kB / 430.6 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004525/0.1147, allocations: 2.306 MB / 432.9 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.1257, allocations: 3.428 MB / 436.3 MB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2147/0.3404, allocations: 45.99 MB / 482.3 MB, free: 60.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.3444, allocations: 1.354 MB / 483.7 MB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/0.3452, allocations: 447.2 kB / 484.1 MB, free: 60.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007295/0.3525, allocations: 4.267 MB / 488.4 MB, free: 57.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3525, allocations: 51.73 kB / 488.4 MB, free: 57.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.476e-06/0.3525, allocations: 2 kB / 488.4 MB, free: 57.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.004742/0.3572, allocations: 1.771 MB / 490.2 MB, free: 57.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.3573, allocations: 171.6 kB / 490.4 MB, free: 57.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004901/0.3622, allocations: 4.422 MB / 494.8 MB, free: 55.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.895e-05/0.3623, allocations: 43.98 kB / 494.8 MB, free: 55.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.3642, allocations: 3.683 MB / 498.5 MB, free: 52.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005307/0.3647, allocations: 0.6949 MB / 499.2 MB, free: 52.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001759/0.3665, allocations: 1.662 MB / 0.4891 GB, free: 51.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3666, allocations: 0.549 MB / 0.4897 GB, free: 50.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.3681, allocations: 0.6658 MB / 0.4903 GB, free: 50.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/0.3721, allocations: 7.054 MB / 0.4972 GB, free: 41.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006465/0.3785, allocations: 8.489 MB / 0.5055 GB, free: 32.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/0.3787, allocations: 42.34 kB / 0.5055 GB, free: 32.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.009567/0.3883, allocations: 5.487 MB / 0.5109 GB, free: 30.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/0.3884, allocations: 71.12 kB / 0.5109 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/0.3885, allocations: 148.6 kB / 0.5111 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.3887, allocations: 190.9 kB / 0.5113 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/0.3924, allocations: 1.454 MB / 0.5127 GB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001753/0.3926, allocations: 291.4 kB / 0.513 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/0.3965, allocations: 0.905 MB / 0.5139 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005002/0.397, allocations: 405.3 kB / 0.5142 GB, free: 29.39 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.001766/0.3987, allocations: 0.7725 MB / 0.515 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.3992, allocations: 336.7 kB / 0.5153 GB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/0.3998, allocations: 320.3 kB / 0.5156 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.3999, allocations: 41.67 kB / 0.5157 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/0.3999, allocations: 0 / 0.5157 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3999, allocations: 10.33 kB / 0.5157 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.4076, allocations: 4.92 MB / 0.5205 GB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4076, allocations: 8.094 kB / 0.5205 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/0.4084, allocations: 208.3 kB / 0.5207 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.4084, allocations: 8.984 kB / 0.5207 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.4085, allocations: 31.47 kB / 0.5207 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.4085, allocations: 19.88 kB / 0.5207 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4085, allocations: 4 kB / 0.5207 GB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4102, allocations: 1.771 MB / 0.5225 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004848/0.4107, allocations: 291.6 kB / 0.5228 GB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.4109, allocations: 24 kB / 0.5228 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008446/0.4118, allocations: 75.03 kB / 0.5228 GB, free: 23.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.4119, allocations: 84.91 kB / 0.5229 GB, free: 23.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.412, allocations: 40 kB / 0.523 GB, free: 23.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002085/0.4141, allocations: 1.662 MB / 0.5246 GB, free: 21.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4141, allocations: 0 / 0.5246 GB, free: 21.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004863/0.4189, allocations: 1.106 MB / 0.5257 GB, free: 20.69 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.0003906/0.4193, allocations: 154.2 kB / 0.5258 GB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005194/0.4245, allocations: 3.029 MB / 0.5288 GB, free: 17.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.4245, allocations: 4.125 kB / 0.5288 GB, free: 17.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006872/0.4252, allocations: 452.9 kB / 0.5292 GB, free: 17.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.4269, allocations: 297.2 kB / 0.5295 GB, free: 17.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.4379, allocations: 6.88 MB / 0.5362 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003792/0.4417, allocations: 2.327 MB / 0.5385 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004396/0.4461, allocations: 1.894 MB / 0.5403 GB, free: 7.922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.4466, allocations: 209.6 kB / 0.5405 GB, free: 7.723 MB / 410.7 MB Notification: Performance of SimCode: time 2.414e-06/0.4466, allocations: 0 / 0.5405 GB, free: 7.723 MB / 410.7 MB Notification: Performance of Templates: time 0.0445/0.4911, allocations: 16.84 MB / 0.557 GB, free: 9.031 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.527768842992373]