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.001854/0.001854, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002521/0.002521, allocations: 210 kB / 23.73 MB, free: 4.387 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 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.2428/0.2428, allocations: 44.94 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002101/0.002101, allocations: 63.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 65.47 MB / 0.5574 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01312/0.3802, allocations: 10.4 MB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008504/0.3887, allocations: 3.895 MB / 0.5714 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.3907, allocations: 87.69 kB / 0.5715 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.3942, allocations: 1.639 MB / 0.5731 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.3983, allocations: 1.565 MB / 0.5746 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.4009, allocations: 1.145 MB / 0.5757 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005392/0.4063, allocations: 3.505 MB / 0.5792 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.4098, allocations: 1.992 MB / 0.5811 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.412, allocations: 1.176 MB / 0.5822 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.415, allocations: 1.654 MB / 0.5839 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009181/0.4159, allocations: 240 kB / 0.5841 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.4178, allocations: 0.6163 MB / 0.5847 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.4199, allocations: 1.593 MB / 0.5862 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.4225, allocations: 1.303 MB / 0.5875 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008499/0.431, allocations: 6.176 MB / 0.5936 GB, free: 2.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.431, allocations: 4 kB / 0.5936 GB, free: 2.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.431, allocations: 0 / 0.5936 GB, free: 2.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003009/0.4313, allocations: 0 / 0.5936 GB, free: 2.172 MB / 430.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.01057/0.4419, allocations: 4.015 MB / 0.5975 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4419, allocations: 8.031 kB / 0.5975 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/0.4519, allocations: 2.997 MB / 0.6004 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/0.4564, allocations: 1.775 MB / 0.6021 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.4566, allocations: 193.1 kB / 0.6023 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006319/0.4572, allocations: 247.8 kB / 0.6026 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.4732, allocations: 10.04 MB / 0.6124 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.999e-05/0.4733, allocations: 31.69 kB / 0.6124 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003928/0.4737, allocations: 127.8 kB / 0.6125 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003665/0.4774, allocations: 2.31 MB / 0.6148 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.4938, allocations: 8.917 MB / 0.6235 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04873/0.5425, allocations: 35.04 MB / 0.6577 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005839/0.5484, allocations: 2.347 MB / 0.66 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/0.5503, allocations: 1.131 MB / 0.6611 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009453/0.5598, allocations: 4.461 MB / 0.6655 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.5598, allocations: 55.16 kB / 0.6655 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.388e-06/0.5598, allocations: 0 / 0.6655 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007558/0.5674, allocations: 3.317 MB / 0.6687 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.5675, allocations: 166.9 kB / 0.6689 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006536/0.574, allocations: 3.749 MB / 0.6726 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.5742, allocations: 41.7 kB / 0.6726 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/0.5771, allocations: 3.348 MB / 0.6759 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009058/0.578, allocations: 0.6321 MB / 0.6765 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002122/0.5802, allocations: 1.31 MB / 0.6778 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5804, allocations: 349.9 kB / 0.6781 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/0.5835, allocations: 1.957 MB / 0.68 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007338/0.5909, allocations: 6.104 MB / 0.686 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.6029, allocations: 8.789 MB / 0.6946 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000175/0.6031, allocations: 40 kB / 0.6946 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01508/0.6182, allocations: 7.694 MB / 0.7021 GB, free: 12.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.6183, allocations: 68 kB / 0.7022 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002405/0.6185, allocations: 156.1 kB / 0.7023 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.6188, allocations: 196.5 kB / 0.7025 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004806/0.6236, allocations: 1.454 MB / 0.7039 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003441/0.6239, allocations: 286.9 kB / 0.7042 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/0.6299, allocations: 0.9036 MB / 0.7051 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/0.631, allocations: 400 kB / 0.7055 GB, free: 9.289 MB / 0.545 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.004435/0.6354, allocations: 2.21 MB / 0.7076 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.636, allocations: 298 kB / 0.7079 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009183/0.6369, allocations: 384.3 kB / 0.7083 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.387e-05/0.637, allocations: 35.98 kB / 0.7083 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.637, allocations: 4 kB / 0.7083 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.637, allocations: 3.984 kB / 0.7083 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009067/0.6461, allocations: 4.331 MB / 0.7126 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.6461, allocations: 4 kB / 0.7126 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009593/0.6471, allocations: 212 kB / 0.7128 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.6471, allocations: 12 kB / 0.7128 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/0.6472, allocations: 28 kB / 0.7128 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.466e-05/0.6472, allocations: 15.88 kB / 0.7128 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-06/0.6472, allocations: 8.531 kB / 0.7128 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.651, allocations: 2.524 MB / 0.7153 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008332/0.6518, allocations: 285.6 kB / 0.7156 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/0.6523, allocations: 27.98 kB / 0.7156 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.6534, allocations: 63.67 kB / 0.7156 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.6536, allocations: 80.25 kB / 0.7157 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.6537, allocations: 51.97 kB / 0.7158 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003518/0.6572, allocations: 2.087 MB / 0.7178 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6572, allocations: 8 kB / 0.7178 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00466/0.6619, allocations: 1.102 MB / 0.7189 GB, free: 11.33 MB / 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.0003933/0.6623, allocations: 154.8 kB / 0.719 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007219/0.6695, allocations: 4.255 MB / 0.7232 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6695, allocations: 0 / 0.7232 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.6708, allocations: 0.8806 MB / 0.7241 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.6726, allocations: 286.7 kB / 0.7243 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3327/1.005, allocations: 8.345 MB / 0.7325 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008774/1.014, allocations: 2.624 MB / 0.735 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008332/1.022, allocations: 2.188 MB / 0.7372 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000945/1.023, allocations: 209.8 kB / 0.7374 GB, free: 155 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.023, allocations: 5.562 kB / 0.7374 GB, free: 155 MB / 0.5606 GB Notification: Performance of Templates: time 0.04499/1.068, allocations: 20.72 MB / 0.7576 GB, free: 139.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] 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.939425056800246]