Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009924/0.0009924, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009946/0.0009946, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9843/0.9843, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.257/0.257, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.716e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009867/0.009904, allocations: 11.52 MB / 389.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006991/0.01689, allocations: 4.027 MB / 393.6 MB, free: 3.051 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.01878, allocations: 87.69 kB / 393.7 MB, free: 2.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002572/0.02135, allocations: 1.771 MB / 395.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.0244, allocations: 1.606 MB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.02578, allocations: 1.282 MB / 398.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003742/0.02952, allocations: 3.571 MB / 401.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.03145, allocations: 2.055 MB / 403.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.03325, allocations: 1.711 MB / 405.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.0349, allocations: 1.652 MB / 407.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000347/0.03524, allocations: 240 kB / 407.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009468/0.03619, allocations: 0.6748 MB / 408.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.03734, allocations: 1.648 MB / 409.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008145/0.03815, allocations: 0.9573 MB / 410.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.04183, allocations: 3.809 MB / 414.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.04183, allocations: 0 / 414.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.04184, allocations: 0 / 414.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.199e-05/0.04193, allocations: 0 / 414.6 MB, free: 13.88 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.004752/0.04668, allocations: 4.402 MB / 419 MB, free: 9.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.04673, allocations: 12.03 kB / 419 MB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007752/0.05449, allocations: 3.489 MB / 422.5 MB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.05771, allocations: 1.679 MB / 424.2 MB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.05785, allocations: 193.1 kB / 424.4 MB, free: 4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004737/0.05832, allocations: 248.2 kB / 424.6 MB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009229/0.06755, allocations: 5.558 MB / 430.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-05/0.06761, allocations: 31.69 kB / 430.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.06794, allocations: 127.8 kB / 430.3 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/0.07076, allocations: 2.317 MB / 432.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00835/0.07911, allocations: 2.963 MB / 435.6 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1955/0.2746, allocations: 41.04 MB / 476.7 MB, free: 58.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.2772, allocations: 1.321 MB / 478 MB, free: 58.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.2778, allocations: 421 kB / 478.4 MB, free: 58.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004458/0.2822, allocations: 4.072 MB / 482.5 MB, free: 56.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2823, allocations: 52.39 kB / 482.5 MB, free: 56.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.218e-06/0.2823, allocations: 0.5312 kB / 482.5 MB, free: 56.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.003242/0.2855, allocations: 1.745 MB / 484.3 MB, free: 55.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.2856, allocations: 168.1 kB / 484.4 MB, free: 55.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.2891, allocations: 3.478 MB / 487.9 MB, free: 54.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.2891, allocations: 46.42 kB / 488 MB, free: 54.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.2905, allocations: 3.482 MB / 491.4 MB, free: 51.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.2908, allocations: 0.6488 MB / 492.1 MB, free: 51.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.2919, allocations: 1.429 MB / 493.5 MB, free: 50.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.292, allocations: 0.5248 MB / 494 MB, free: 49.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.293, allocations: 0.622 MB / 494.7 MB, free: 49.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.2968, allocations: 6.794 MB / 0.4897 GB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006697/0.3035, allocations: 8.185 MB / 0.4977 GB, free: 32.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/0.3037, allocations: 44.41 kB / 0.4977 GB, free: 32.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.008295/0.3119, allocations: 5.396 MB / 0.503 GB, free: 30.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.693e-05/0.312, allocations: 72.25 kB / 0.5031 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001875/0.3122, allocations: 147.9 kB / 0.5032 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.3124, allocations: 192.8 kB / 0.5034 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.3154, allocations: 1.46 MB / 0.5048 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002438/0.3156, allocations: 286.5 kB / 0.5051 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.3186, allocations: 0.9045 MB / 0.506 GB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004986/0.3191, allocations: 404.1 kB / 0.5064 GB, free: 29.34 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.001417/0.3205, allocations: 0.6791 MB / 0.507 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.3209, allocations: 334.4 kB / 0.5074 GB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.3212, allocations: 316.1 kB / 0.5077 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.901e-05/0.3212, allocations: 38.7 kB / 0.5077 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.3212, allocations: 1.375 kB / 0.5077 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3212, allocations: 7.328 kB / 0.5077 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.3267, allocations: 4.028 MB / 0.5116 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.3267, allocations: 7.906 kB / 0.5116 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.3273, allocations: 201 kB / 0.5118 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.3273, allocations: 12.25 kB / 0.5118 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.3273, allocations: 33.53 kB / 0.5119 GB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.3273, allocations: 23.78 kB / 0.5119 GB, free: 26.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3273, allocations: 9.469 kB / 0.5119 GB, free: 26.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3287, allocations: 1.715 MB / 0.5136 GB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.329, allocations: 283.3 kB / 0.5139 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.3292, allocations: 26.58 kB / 0.5139 GB, free: 25.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.3297, allocations: 73.91 kB / 0.514 GB, free: 24.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-05/0.3298, allocations: 81.23 kB / 0.514 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.3298, allocations: 47.47 kB / 0.5141 GB, free: 24.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001394/0.3312, allocations: 1.379 MB / 0.5154 GB, free: 24.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3312, allocations: 0 / 0.5154 GB, free: 24.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003462/0.3347, allocations: 1.099 MB / 0.5165 GB, free: 24.16 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.0003235/0.335, allocations: 162.7 kB / 0.5166 GB, free: 24.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004006/0.339, allocations: 2.738 MB / 0.5193 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.339, allocations: 0 / 0.5193 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.3395, allocations: 415.9 kB / 0.5197 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.3411, allocations: 302.1 kB / 0.52 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.3531, allocations: 6.799 MB / 0.5266 GB, free: 17.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.3543, allocations: 1.166 MB / 0.5278 GB, free: 16.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00372/0.358, allocations: 1.894 MB / 0.5296 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.3585, allocations: 209.1 kB / 0.5298 GB, free: 15.26 MB / 410.7 MB Notification: Performance of SimCode: time 2.855e-06/0.3585, allocations: 0 / 0.5298 GB, free: 15.26 MB / 410.7 MB Notification: Performance of Templates: time 0.03081/0.3893, allocations: 16.85 MB / 0.5463 GB, free: 2.672 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.21746432594955]