Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001024/0.001024, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 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.0009486/0.0009486, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 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.031/1.031, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2878/0.2878, allocations: 34.87 MB / 296.3 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.764e-05, allocations: 3.016 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009949/0.009977, allocations: 11.49 MB / 390.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007559/0.01754, allocations: 4.031 MB / 394.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.01934, allocations: 87.69 kB / 394.4 MB, free: 2.398 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.02186, allocations: 1.775 MB / 396.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.02466, allocations: 1.618 MB / 397.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.026, allocations: 1.274 MB / 399 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.03006, allocations: 3.571 MB / 402.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.03392, allocations: 2.067 MB / 404.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.0365, allocations: 1.719 MB / 406.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.03863, allocations: 1.648 MB / 408 MB, free: 4.641 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006814/0.03931, allocations: 236 kB / 408.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.04047, allocations: 0.6787 MB / 409 MB, free: 3.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.04187, allocations: 1.651 MB / 410.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.04315, allocations: 0.9495 MB / 411.6 MB, free: 1.121 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003912/0.04706, allocations: 3.813 MB / 415.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.04707, allocations: 0 / 415.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.04707, allocations: 0 / 415.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001904/0.04726, allocations: 4 kB / 415.4 MB, free: 13.29 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.005662/0.05292, allocations: 4.402 MB / 419.8 MB, free: 8.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.05297, allocations: 8.031 kB / 419.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005507/0.05848, allocations: 3.481 MB / 423.3 MB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.06097, allocations: 1.734 MB / 425 MB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.391e-05/0.06107, allocations: 193.1 kB / 425.2 MB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.06137, allocations: 252.2 kB / 425.4 MB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00709/0.06846, allocations: 5.558 MB / 431 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.517e-05/0.06852, allocations: 27.75 kB / 431 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.06878, allocations: 123.8 kB / 431.1 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002027/0.07081, allocations: 2.321 MB / 433.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006391/0.0772, allocations: 2.971 MB / 436.4 MB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2065/0.2837, allocations: 41.03 MB / 477.5 MB, free: 57.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.2864, allocations: 1.318 MB / 478.8 MB, free: 57.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.2869, allocations: 419.4 kB / 479.2 MB, free: 57.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004171/0.2911, allocations: 4.078 MB / 483.3 MB, free: 55.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2911, allocations: 52.42 kB / 483.3 MB, free: 55.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.118e-06/0.2911, allocations: 2.969 kB / 483.3 MB, free: 55.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.003096/0.2942, allocations: 1.742 MB / 485.1 MB, free: 54.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2943, allocations: 168.5 kB / 485.2 MB, free: 54.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/0.2978, allocations: 3.477 MB / 488.7 MB, free: 53.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.5e-05/0.2979, allocations: 43.33 kB / 488.7 MB, free: 53.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.2993, allocations: 3.482 MB / 492.2 MB, free: 50.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/0.2997, allocations: 0.6573 MB / 492.9 MB, free: 50.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.3008, allocations: 1.422 MB / 494.3 MB, free: 49.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.3008, allocations: 0.5291 MB / 494.8 MB, free: 48.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3019, allocations: 0.6176 MB / 495.5 MB, free: 48.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/0.305, allocations: 6.795 MB / 0.4905 GB, free: 40.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005281/0.3103, allocations: 8.188 MB / 0.4985 GB, free: 31.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/0.3104, allocations: 42 kB / 0.4985 GB, free: 31.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.009842/0.3203, allocations: 5.402 MB / 0.5038 GB, free: 29.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.3204, allocations: 68.69 kB / 0.5039 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002494/0.3206, allocations: 147.3 kB / 0.504 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.3209, allocations: 197.1 kB / 0.5042 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.324, allocations: 1.459 MB / 0.5056 GB, free: 28.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00023/0.3242, allocations: 286 kB / 0.5059 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.3273, allocations: 0.9059 MB / 0.5068 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/0.328, allocations: 401.7 kB / 0.5071 GB, free: 28.27 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.001652/0.3296, allocations: 0.677 MB / 0.5078 GB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.33, allocations: 333.7 kB / 0.5081 GB, free: 27.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.3304, allocations: 315.3 kB / 0.5084 GB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.615e-05/0.3304, allocations: 37.97 kB / 0.5085 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.3304, allocations: 0 / 0.5085 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3304, allocations: 12.55 kB / 0.5085 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.3359, allocations: 4.031 MB / 0.5124 GB, free: 25.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.336, allocations: 7.938 kB / 0.5124 GB, free: 25.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.3365, allocations: 204.7 kB / 0.5126 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/0.3365, allocations: 7.938 kB / 0.5126 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.3366, allocations: 35.19 kB / 0.5127 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.3366, allocations: 11.88 kB / 0.5127 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3366, allocations: 7.906 kB / 0.5127 GB, free: 25.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3379, allocations: 1.726 MB / 0.5144 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.3384, allocations: 281.2 kB / 0.5146 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.3386, allocations: 27.14 kB / 0.5147 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.3391, allocations: 67.61 kB / 0.5147 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3392, allocations: 88 kB / 0.5148 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-05/0.3393, allocations: 45.53 kB / 0.5148 GB, free: 23.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002019/0.3413, allocations: 1.38 MB / 0.5162 GB, free: 23.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3413, allocations: 0 / 0.5162 GB, free: 23.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004048/0.3454, allocations: 1.11 MB / 0.5173 GB, free: 23.08 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.0003669/0.3457, allocations: 153.2 kB / 0.5174 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004066/0.3498, allocations: 2.75 MB / 0.5201 GB, free: 22.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.3498, allocations: 0 / 0.5201 GB, free: 22.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.3503, allocations: 408.2 kB / 0.5205 GB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3517, allocations: 291.9 kB / 0.5208 GB, free: 21.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/0.3608, allocations: 6.802 MB / 0.5274 GB, free: 16.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.362, allocations: 1.166 MB / 0.5286 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003137/0.3651, allocations: 1.899 MB / 0.5304 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.3655, allocations: 205.7 kB / 0.5306 GB, free: 14.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.345e-06/0.3655, allocations: 0 / 0.5306 GB, free: 14.23 MB / 410.7 MB Notification: Performance of Templates: time 0.03061/0.3962, allocations: 17.58 MB / 0.5478 GB, free: 0.8867 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.024347386788577]