Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.001861, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2302/0.2302, allocations: 46.89 MB / 361.1 MB, free: 4.738 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 83.86 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3594, allocations: 65.98 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0155/0.3749, allocations: 12 MB / 0.5729 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008812/0.3837, allocations: 4.113 MB / 0.5769 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.3858, allocations: 75.88 kB / 0.577 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.3897, allocations: 1.697 MB / 0.5787 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.3943, allocations: 1.553 MB / 0.5802 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.397, allocations: 1.196 MB / 0.5813 GB, free: 308 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005823/0.4029, allocations: 3.51 MB / 0.5848 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.4061, allocations: 1.805 MB / 0.5865 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.4083, allocations: 1.16 MB / 0.5877 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.411, allocations: 1.728 MB / 0.5893 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007936/0.4118, allocations: 243.9 kB / 0.5896 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.4136, allocations: 0.7294 MB / 0.5903 GB, free: 7.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.4157, allocations: 1.589 MB / 0.5918 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.4185, allocations: 1.867 MB / 0.5937 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007959/0.4264, allocations: 6.146 MB / 0.5997 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4264, allocations: 0 / 0.5997 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4264, allocations: 4 kB / 0.5997 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002031/0.4266, allocations: 0 / 0.5997 GB, free: 13.41 MB / 446.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.008452/0.4351, allocations: 4.086 MB / 0.6037 GB, free: 9.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4351, allocations: 12.03 kB / 0.6037 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4456, allocations: 2.993 MB / 0.6066 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.4502, allocations: 1.827 MB / 0.6084 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.4503, allocations: 189.1 kB / 0.6086 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006263/0.451, allocations: 251.7 kB / 0.6088 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.4682, allocations: 10.04 MB / 0.6186 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.53e-05/0.4682, allocations: 31.69 kB / 0.6186 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004171/0.4687, allocations: 123.8 kB / 0.6188 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004127/0.4728, allocations: 2.314 MB / 0.621 GB, free: 6.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.4903, allocations: 8.918 MB / 0.6297 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05185/0.5422, allocations: 37.62 MB / 0.6665 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006282/0.5485, allocations: 3.239 MB / 0.6696 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.5503, allocations: 1.136 MB / 0.6707 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.5605, allocations: 5.18 MB / 0.6758 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.5605, allocations: 54.98 kB / 0.6758 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.27e-06/0.5605, allocations: 0 / 0.6758 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007362/0.5679, allocations: 3.342 MB / 0.6791 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.568, allocations: 170.7 kB / 0.6793 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006144/0.5742, allocations: 3.838 MB / 0.683 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.5744, allocations: 49.62 kB / 0.6831 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.5773, allocations: 3.321 MB / 0.6863 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008942/0.5782, allocations: 0.6282 MB / 0.6869 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0019/0.5801, allocations: 1.31 MB / 0.6882 GB, free: 288 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.5803, allocations: 301.1 kB / 0.6885 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/0.5834, allocations: 1.953 MB / 0.6904 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006887/0.5903, allocations: 6.115 MB / 0.6964 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.6023, allocations: 8.791 MB / 0.7049 GB, free: 10.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/0.6025, allocations: 40 kB / 0.705 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01677/0.6193, allocations: 7.715 MB / 0.7125 GB, free: 3.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.6195, allocations: 75.94 kB / 0.7126 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002741/0.6198, allocations: 144 kB / 0.7127 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.62, allocations: 196 kB / 0.7129 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/0.6252, allocations: 1.45 MB / 0.7143 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004075/0.6256, allocations: 295.4 kB / 0.7146 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/0.631, allocations: 0.9384 MB / 0.7155 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/0.632, allocations: 404 kB / 0.7159 GB, free: 15.72 MB / 0.5606 GB 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.00475/0.6368, allocations: 2.191 MB / 0.7181 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007583/0.6375, allocations: 321.7 kB / 0.7184 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.6386, allocations: 415 kB / 0.7188 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.389e-05/0.6387, allocations: 36.45 kB / 0.7188 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.6387, allocations: 8 kB / 0.7188 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.6387, allocations: 3.984 kB / 0.7188 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.6514, allocations: 5.471 MB / 0.7241 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/0.6515, allocations: 12 kB / 0.7242 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6525, allocations: 207.6 kB / 0.7244 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.509e-05/0.6525, allocations: 15.94 kB / 0.7244 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.6526, allocations: 24 kB / 0.7244 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-05/0.6526, allocations: 11.98 kB / 0.7244 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.6527, allocations: 11.94 kB / 0.7244 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.6562, allocations: 2.561 MB / 0.7269 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.6572, allocations: 386.6 kB / 0.7273 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006249/0.6578, allocations: 23.94 kB / 0.7273 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6591, allocations: 67.92 kB / 0.7274 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.6593, allocations: 80.34 kB / 0.7275 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.6594, allocations: 51.97 kB / 0.7275 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005027/0.6645, allocations: 2.33 MB / 0.7298 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6645, allocations: 4 kB / 0.7298 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006059/0.6705, allocations: 1.072 MB / 0.7308 GB, free: 216 kB / 0.5606 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.0007467/0.6713, allocations: 150.9 kB / 0.731 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3757/1.047, allocations: 4.259 MB / 0.7351 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.047, allocations: 0 / 0.7351 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.048, allocations: 0.8744 MB / 0.736 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.051, allocations: 362.7 kB / 0.7363 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.067, allocations: 8.384 MB / 0.7445 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003801/1.071, allocations: 3.156 MB / 0.7476 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004011/1.075, allocations: 2.226 MB / 0.7498 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/1.076, allocations: 223 kB / 0.75 GB, free: 148 MB / 0.5606 GB Notification: Performance of SimCode: time 9.61e-07/1.076, allocations: 0 / 0.75 GB, free: 148 MB / 0.5606 GB Notification: Performance of Templates: time 0.04261/1.118, allocations: 23.54 MB / 0.773 GB, free: 124.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.855758506339043]