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.00137/0.00137, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001448/0.001448, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9184/0.9184, 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.2561/0.2561, allocations: 34.85 MB / 296.3 MB, free: 0.543 MB / 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.114e-06/2.114e-06, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.089e-05, allocations: 7.297 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01283/0.01286, allocations: 11.51 MB / 390.3 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009251/0.02211, allocations: 4.023 MB / 394.3 MB, free: 2.508 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.02346, allocations: 87.69 kB / 394.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.02555, allocations: 1.767 MB / 396.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.02773, allocations: 1.618 MB / 397.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.02897, allocations: 1.278 MB / 399 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.03163, allocations: 3.563 MB / 402.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.03314, allocations: 2.063 MB / 404.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.03453, allocations: 1.723 MB / 406.4 MB, free: 6.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.03588, allocations: 1.64 MB / 408 MB, free: 4.684 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.03619, allocations: 236 kB / 408.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008605/0.03705, allocations: 0.6903 MB / 408.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009329/0.03798, allocations: 1.648 MB / 410.6 MB, free: 2.109 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.03868, allocations: 0.9535 MB / 411.5 MB, free: 1.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.04182, allocations: 3.805 MB / 415.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.04183, allocations: 0 / 415.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04183, allocations: 4 kB / 415.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.04188, allocations: 0 / 415.4 MB, free: 13.33 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.003903/0.04579, allocations: 4.406 MB / 419.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.04582, allocations: 12.03 kB / 419.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/0.05166, allocations: 3.485 MB / 423.3 MB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.05361, allocations: 1.675 MB / 424.9 MB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.192e-05/0.05371, allocations: 197.1 kB / 425.1 MB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/0.05401, allocations: 248.2 kB / 425.4 MB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005996/0.06001, allocations: 5.554 MB / 430.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.06006, allocations: 31.69 kB / 430.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.0603, allocations: 131.8 kB / 431.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002001/0.0623, allocations: 2.306 MB / 433.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005423/0.06772, allocations: 2.967 MB / 436.4 MB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/0.2485, allocations: 41.04 MB / 477.4 MB, free: 58.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.2508, allocations: 1.319 MB / 478.7 MB, free: 58.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.2513, allocations: 417.5 kB / 479.1 MB, free: 58.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003866/0.2552, allocations: 4.072 MB / 483.2 MB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.2552, allocations: 54.11 kB / 483.2 MB, free: 55.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.868e-06/0.2552, allocations: 0 / 483.2 MB, free: 55.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.002759/0.258, allocations: 1.745 MB / 485 MB, free: 55.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.258, allocations: 171.1 kB / 485.2 MB, free: 55.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.2604, allocations: 3.475 MB / 488.6 MB, free: 53.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.2604, allocations: 44.3 kB / 488.7 MB, free: 53.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009992/0.2614, allocations: 3.477 MB / 492.2 MB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.2617, allocations: 0.6577 MB / 492.8 MB, free: 50.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009719/0.2627, allocations: 1.426 MB / 494.2 MB, free: 49.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.2628, allocations: 0.5245 MB / 494.8 MB, free: 49.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008326/0.2636, allocations: 0.6256 MB / 495.4 MB, free: 49.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.266, allocations: 6.791 MB / 0.4904 GB, free: 40.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.2696, allocations: 8.187 MB / 0.4984 GB, free: 31.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.04e-05/0.2697, allocations: 41.09 kB / 0.4984 GB, free: 31.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.005642/0.2753, allocations: 5.404 MB / 0.5037 GB, free: 29.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/0.2754, allocations: 67.81 kB / 0.5038 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.2755, allocations: 147.4 kB / 0.5039 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.2757, allocations: 193.9 kB / 0.5041 GB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.278, allocations: 1.461 MB / 0.5055 GB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001576/0.2782, allocations: 288.9 kB / 0.5058 GB, free: 29.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.28, allocations: 0.9005 MB / 0.5067 GB, free: 28.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/0.2804, allocations: 404.9 kB / 0.5071 GB, free: 28.67 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.0007823/0.2812, allocations: 0.6687 MB / 0.5077 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.2814, allocations: 336.1 kB / 0.5081 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.2817, allocations: 321.8 kB / 0.5084 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/0.2817, allocations: 37.31 kB / 0.5084 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.2817, allocations: 5.312 kB / 0.5084 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.2817, allocations: 4.781 kB / 0.5084 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.2856, allocations: 4.041 MB / 0.5124 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2856, allocations: 3.969 kB / 0.5124 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.286, allocations: 202 kB / 0.5125 GB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.286, allocations: 11.84 kB / 0.5126 GB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.2861, allocations: 31.22 kB / 0.5126 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2861, allocations: 11.88 kB / 0.5126 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2861, allocations: 7.906 kB / 0.5126 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2871, allocations: 1.728 MB / 0.5143 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.2873, allocations: 275.6 kB / 0.5146 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.2875, allocations: 30.91 kB / 0.5146 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.2879, allocations: 62.33 kB / 0.5146 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.288, allocations: 90.64 kB / 0.5147 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.2881, allocations: 37.06 kB / 0.5148 GB, free: 24.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001214/0.2893, allocations: 1.382 MB / 0.5161 GB, free: 23.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2893, allocations: 3.5 kB / 0.5161 GB, free: 23.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002089/0.2914, allocations: 1.103 MB / 0.5172 GB, free: 23.49 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.0002299/0.2916, allocations: 169.8 kB / 0.5174 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.2939, allocations: 2.745 MB / 0.52 GB, free: 22.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2939, allocations: 0 / 0.52 GB, free: 22.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.2943, allocations: 410.4 kB / 0.5204 GB, free: 22.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.2953, allocations: 291.6 kB / 0.5207 GB, free: 22.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.3005, allocations: 6.8 MB / 0.5274 GB, free: 16.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009227/0.3015, allocations: 1.168 MB / 0.5285 GB, free: 16.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002848/0.3043, allocations: 1.895 MB / 0.5303 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.3046, allocations: 205.9 kB / 0.5305 GB, free: 14.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3046, allocations: 0 / 0.5305 GB, free: 14.87 MB / 410.7 MB Notification: Performance of Templates: time 0.02557/0.3302, allocations: 16.85 MB / 0.547 GB, free: 2.215 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.043482990935445]