Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001005/0.001005, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001034/0.001034, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8519/0.8519, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1247/0.1247, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.603e-05, allocations: 6.25 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.007541/0.007558, allocations: 11.99 MB / 359.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.01227, allocations: 4.004 MB / 363.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.01286, allocations: 87.69 kB / 363.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.01515, allocations: 1.798 MB / 365.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.01755, allocations: 1.692 MB / 367.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.0191, allocations: 1.278 MB / 368.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.02231, allocations: 3.689 MB / 372.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.02426, allocations: 2.149 MB / 374.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.02598, allocations: 1.816 MB / 376.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.02758, allocations: 1.745 MB / 377.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.0279, allocations: 252 kB / 378.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.02878, allocations: 0.7021 MB / 378.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.03021, allocations: 1.768 MB / 380.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008967/0.03111, allocations: 1.028 MB / 381.6 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003704/0.03481, allocations: 4.05 MB / 385.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.03482, allocations: 0 / 385.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.03482, allocations: 3.984 kB / 385.7 MB, free: 3.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.03485, allocations: 0 / 385.7 MB, free: 3.234 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.005529/0.04038, allocations: 4.625 MB / 390.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.04043, allocations: 15.97 kB / 390.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008113/0.04854, allocations: 3.559 MB / 393.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.05102, allocations: 1.73 MB / 395.6 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.05115, allocations: 201.3 kB / 395.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.05156, allocations: 260.2 kB / 396.1 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007401/0.05896, allocations: 5.776 MB / 401.9 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/0.05902, allocations: 39.62 kB / 401.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.05933, allocations: 127.8 kB / 402 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/0.06219, allocations: 2.443 MB / 404.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006938/0.06913, allocations: 3.106 MB / 407.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03641/0.1055, allocations: 42.09 MB / 449.7 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1371/0.2427, allocations: 1.382 MB / 451 MB, free: 98.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.2435, allocations: 446.7 kB / 451.5 MB, free: 98.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005156/0.2486, allocations: 4.286 MB / 455.8 MB, free: 96.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2486, allocations: 49 kB / 455.8 MB, free: 96.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 2.875e-06/0.2486, allocations: 0 / 455.8 MB, free: 96.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.003321/0.252, allocations: 1.774 MB / 457.6 MB, free: 96.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.252, allocations: 169.9 kB / 457.8 MB, free: 96.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00326/0.2553, allocations: 3.578 MB / 461.3 MB, free: 96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.2553, allocations: 41.8 kB / 461.4 MB, free: 95.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.2567, allocations: 3.642 MB / 465 MB, free: 93.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.2571, allocations: 0.6713 MB / 465.7 MB, free: 93.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.2581, allocations: 1.472 MB / 467.2 MB, free: 92.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.2582, allocations: 0.5342 MB / 467.7 MB, free: 92.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/0.259, allocations: 0.6379 MB / 468.3 MB, free: 92.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/0.2616, allocations: 7.036 MB / 475.4 MB, free: 83.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.2665, allocations: 8.473 MB / 483.8 MB, free: 74.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-05/0.2666, allocations: 44 kB / 483.9 MB, free: 74.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.005602/0.2722, allocations: 5.582 MB / 489.5 MB, free: 68.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.2722, allocations: 72 kB / 489.5 MB, free: 68.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.2723, allocations: 159.6 kB / 489.7 MB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.2725, allocations: 204 kB / 489.9 MB, free: 68.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.2746, allocations: 1.508 MB / 491.4 MB, free: 67.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001205/0.2747, allocations: 304 kB / 491.7 MB, free: 66.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.2768, allocations: 0.9273 MB / 492.6 MB, free: 66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.2771, allocations: 415.7 kB / 493 MB, free: 65.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.0008963/0.278, allocations: 0.6959 MB / 493.7 MB, free: 64.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.2782, allocations: 341.9 kB / 494.1 MB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.2785, allocations: 329.8 kB / 494.4 MB, free: 64.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/0.2785, allocations: 38.27 kB / 494.4 MB, free: 64.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.2785, allocations: 4 kB / 494.4 MB, free: 64.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2785, allocations: 7.5 kB / 494.4 MB, free: 64.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.2823, allocations: 4.153 MB / 498.6 MB, free: 60.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2823, allocations: 11.56 kB / 498.6 MB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.2827, allocations: 213.4 kB / 498.8 MB, free: 60.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2827, allocations: 8 kB / 498.8 MB, free: 60.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.2828, allocations: 38.39 kB / 498.8 MB, free: 60.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.2828, allocations: 12.59 kB / 498.9 MB, free: 60.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2828, allocations: 11.94 kB / 498.9 MB, free: 60.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2838, allocations: 1.777 MB / 0.4889 GB, free: 58.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.284, allocations: 287.6 kB / 0.4892 GB, free: 58.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.2842, allocations: 29.91 kB / 0.4892 GB, free: 58.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.2846, allocations: 66.77 kB / 0.4893 GB, free: 58.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.2847, allocations: 94.05 kB / 0.4894 GB, free: 57.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.2847, allocations: 47.84 kB / 0.4894 GB, free: 57.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.2859, allocations: 1.424 MB / 0.4908 GB, free: 56.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2859, allocations: 0 / 0.4908 GB, free: 56.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002366/0.2883, allocations: 1.175 MB / 0.492 GB, free: 55.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0002846/0.2886, allocations: 149.5 kB / 0.4921 GB, free: 55.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.2909, allocations: 2.833 MB / 0.4949 GB, free: 52.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2909, allocations: 384 / 0.4949 GB, free: 52.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.2913, allocations: 419.7 kB / 0.4953 GB, free: 52.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009212/0.2922, allocations: 312.7 kB / 0.4956 GB, free: 51.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.298, allocations: 7.122 MB / 0.5025 GB, free: 44.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.2987, allocations: 1.217 MB / 0.5037 GB, free: 43.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002161/0.3009, allocations: 1.939 MB / 0.5056 GB, free: 41.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.3012, allocations: 220.5 kB / 0.5058 GB, free: 41.03 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3012, allocations: 0 / 0.5058 GB, free: 41.03 MB / 378.7 MB Notification: Performance of Templates: time 0.02575/0.3269, allocations: 17.16 MB / 0.5226 GB, free: 24.07 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.918160191271454]