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.001371/0.001371, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.002135/0.002135, allocations: 164 kB / 24.99 MB, free: 8.801 MB / 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.142/1.142, allocations: 177 MB / 205.2 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.2768/0.2768, allocations: 34.86 MB / 296.6 MB, free: 0.5898 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 1.914e-06/1.914e-06, allocations: 0 / 378.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.452e-05, allocations: 14.12 kB / 378.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01096/0.01099, allocations: 11.45 MB / 390.2 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.01655, allocations: 4.019 MB / 394.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009132/0.01747, allocations: 87.69 kB / 394.3 MB, free: 2.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.01939, allocations: 1.763 MB / 396.1 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.02126, allocations: 1.622 MB / 397.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.02242, allocations: 1.262 MB / 398.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.02534, allocations: 3.578 MB / 402.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.027, allocations: 2.055 MB / 404.6 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.02842, allocations: 1.719 MB / 406.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.0299, allocations: 1.648 MB / 407.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002818/0.03018, allocations: 236 kB / 408.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008201/0.031, allocations: 0.6749 MB / 408.8 MB, free: 4.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.03202, allocations: 1.648 MB / 410.5 MB, free: 2.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007416/0.03276, allocations: 0.9574 MB / 411.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.03578, allocations: 3.809 MB / 415.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.03579, allocations: 0 / 415.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03579, allocations: 0 / 415.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.43e-05/0.03582, allocations: 3.938 kB / 415.3 MB, free: 13.75 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.004174/0.04, allocations: 4.402 MB / 419.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.04004, allocations: 8.031 kB / 419.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005637/0.04567, allocations: 3.489 MB / 423.2 MB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.04778, allocations: 1.679 MB / 424.8 MB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/0.04788, allocations: 193.1 kB / 425 MB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.04817, allocations: 244.2 kB / 425.3 MB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005581/0.05375, allocations: 5.565 MB / 430.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/0.05379, allocations: 27.75 kB / 430.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.05404, allocations: 127.8 kB / 431 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002006/0.05605, allocations: 2.314 MB / 433.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004849/0.0609, allocations: 2.967 MB / 436.3 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1969/0.2578, allocations: 41.04 MB / 477.3 MB, free: 62.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.2601, allocations: 1.32 MB / 478.6 MB, free: 62.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.2607, allocations: 423.4 kB / 479 MB, free: 62.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003901/0.2646, allocations: 4.068 MB / 483.1 MB, free: 59.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2646, allocations: 51.92 kB / 483.2 MB, free: 59.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 2.464e-06/0.2646, allocations: 0 / 483.2 MB, free: 59.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.003088/0.2677, allocations: 1.748 MB / 484.9 MB, free: 59.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.2677, allocations: 171.8 kB / 485.1 MB, free: 59.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.2705, allocations: 3.474 MB / 488.6 MB, free: 57.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.2705, allocations: 40.89 kB / 488.6 MB, free: 57.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.2717, allocations: 3.481 MB / 492.1 MB, free: 55.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.272, allocations: 0.6573 MB / 492.7 MB, free: 54.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.273, allocations: 1.422 MB / 494.2 MB, free: 53.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.2731, allocations: 0.5324 MB / 494.7 MB, free: 53.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.2741, allocations: 0.6181 MB / 495.3 MB, free: 53.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.2764, allocations: 6.795 MB / 0.4903 GB, free: 44.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/0.2807, allocations: 8.183 MB / 0.4983 GB, free: 35.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-05/0.2807, allocations: 46.66 kB / 0.4984 GB, free: 35.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.006658/0.2874, allocations: 5.393 MB / 0.5036 GB, free: 33.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/0.2875, allocations: 68.44 kB / 0.5037 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/0.2877, allocations: 150.7 kB / 0.5038 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/0.2879, allocations: 193.8 kB / 0.504 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/0.2906, allocations: 1.457 MB / 0.5054 GB, free: 33.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000258/0.2909, allocations: 289.6 kB / 0.5057 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.2933, allocations: 0.9039 MB / 0.5066 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/0.2937, allocations: 403.8 kB / 0.507 GB, free: 32.59 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.001317/0.295, allocations: 0.6782 MB / 0.5077 GB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.2954, allocations: 328.9 kB / 0.508 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.2956, allocations: 320.8 kB / 0.5083 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.2957, allocations: 37.27 kB / 0.5083 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.2957, allocations: 2.531 kB / 0.5083 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2957, allocations: 4.516 kB / 0.5083 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/0.3005, allocations: 4.032 MB / 0.5123 GB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3005, allocations: 8.594 kB / 0.5123 GB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.301, allocations: 207.7 kB / 0.5125 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.301, allocations: 13.91 kB / 0.5125 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.301, allocations: 24.97 kB / 0.5125 GB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.301, allocations: 13.22 kB / 0.5125 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.301, allocations: 10.53 kB / 0.5125 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.3022, allocations: 1.725 MB / 0.5142 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.3024, allocations: 284 kB / 0.5145 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.3026, allocations: 30.59 kB / 0.5145 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.303, allocations: 67.28 kB / 0.5146 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3032, allocations: 85.23 kB / 0.5147 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.3032, allocations: 46.3 kB / 0.5147 GB, free: 28.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001208/0.3044, allocations: 1.382 MB / 0.516 GB, free: 27.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3044, allocations: 0 / 0.516 GB, free: 27.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002605/0.307, allocations: 1.103 MB / 0.5171 GB, free: 27.39 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.0002639/0.3073, allocations: 159.8 kB / 0.5173 GB, free: 27.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.3103, allocations: 2.742 MB / 0.52 GB, free: 26.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3103, allocations: 0.9375 kB / 0.52 GB, free: 26.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.3107, allocations: 415.8 kB / 0.5203 GB, free: 26.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.3117, allocations: 291.8 kB / 0.5206 GB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.3185, allocations: 6.792 MB / 0.5273 GB, free: 19.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/0.3193, allocations: 1.166 MB / 0.5284 GB, free: 19.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002945/0.3222, allocations: 1.896 MB / 0.5302 GB, free: 18.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.3225, allocations: 209.9 kB / 0.5304 GB, free: 17.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.834e-06/0.3225, allocations: 0 / 0.5304 GB, free: 17.82 MB / 410.7 MB Notification: Performance of Templates: time 0.02762/0.3502, allocations: 16.85 MB / 0.5469 GB, free: 4.617 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.230323773808777]