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.001647/0.001647, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001397/0.001397, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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 1.201/1.201, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3458/0.3458, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.134e-06/2.134e-06, allocations: 0 / 378.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.55e-05, allocations: 9.547 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009942/0.009967, allocations: 11.17 MB / 389.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006453/0.01642, allocations: 4.007 MB / 393.7 MB, free: 3.152 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.01754, allocations: 83.75 kB / 393.8 MB, free: 3.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.01955, allocations: 1.752 MB / 395.5 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.02184, allocations: 1.606 MB / 397.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.02336, allocations: 1.262 MB / 398.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002683/0.02604, allocations: 3.579 MB / 402 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.02755, allocations: 2.055 MB / 404 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.02918, allocations: 1.726 MB / 405.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.03043, allocations: 1.648 MB / 407.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.03067, allocations: 240 kB / 407.6 MB, free: 5.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007551/0.03143, allocations: 0.6826 MB / 408.3 MB, free: 4.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008994/0.03233, allocations: 1.64 MB / 409.9 MB, free: 2.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.03319, allocations: 0.9496 MB / 410.9 MB, free: 1.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.0373, allocations: 3.82 MB / 414.7 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.0373, allocations: 0 / 414.7 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0373, allocations: 4 kB / 414.7 MB, free: 14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.06e-05/0.03737, allocations: 0 / 414.7 MB, free: 14 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.005262/0.04263, allocations: 4.374 MB / 419.1 MB, free: 9.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.04268, allocations: 12.03 kB / 419.1 MB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.0477, allocations: 1.703 MB / 420.8 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.04983, allocations: 1.554 MB / 422.4 MB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.04996, allocations: 185.1 kB / 422.5 MB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.05035, allocations: 248.2 kB / 422.8 MB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006391/0.05674, allocations: 5.17 MB / 427.9 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/0.0568, allocations: 31.69 kB / 428 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/0.0571, allocations: 127.8 kB / 428.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002309/0.05941, allocations: 2.017 MB / 430.1 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005099/0.06451, allocations: 2.436 MB / 432.6 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2729/0.3375, allocations: 40.5 MB / 473.1 MB, free: 60.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.341, allocations: 1.207 MB / 474.3 MB, free: 60.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000845/0.3418, allocations: 371.9 kB / 474.6 MB, free: 60.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006796/0.3486, allocations: 3.915 MB / 478.5 MB, free: 58.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/0.3487, allocations: 52.48 kB / 478.6 MB, free: 58.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 8.466e-06/0.3487, allocations: 0 / 478.6 MB, free: 58.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.003907/0.3526, allocations: 1.619 MB / 480.2 MB, free: 58.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.3527, allocations: 175 kB / 480.4 MB, free: 58.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/0.3572, allocations: 3.482 MB / 483.9 MB, free: 57.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003681/0.3576, allocations: 45.12 kB / 483.9 MB, free: 57.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002543/0.3601, allocations: 3.51 MB / 487.4 MB, free: 54.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001182/0.3613, allocations: 0.6553 MB / 488.1 MB, free: 54.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/0.3628, allocations: 1.456 MB / 489.5 MB, free: 53.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.363, allocations: 0.5365 MB / 490.1 MB, free: 52.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.3636, allocations: 497.1 kB / 490.6 MB, free: 52.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/0.368, allocations: 6.69 MB / 497.2 MB, free: 44.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006385/0.3744, allocations: 8.053 MB / 0.4935 GB, free: 35.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.703e-05/0.3745, allocations: 41.69 kB / 0.4935 GB, free: 35.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.00725/0.3818, allocations: 5.037 MB / 0.4984 GB, free: 33.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.3819, allocations: 68.03 kB / 0.4985 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002121/0.3821, allocations: 147.4 kB / 0.4986 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.3823, allocations: 196.4 kB / 0.4988 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/0.3854, allocations: 1.411 MB / 0.5002 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002666/0.3857, allocations: 286.8 kB / 0.5005 GB, free: 33.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/0.3889, allocations: 0.8552 MB / 0.5013 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005162/0.3894, allocations: 354.6 kB / 0.5016 GB, free: 32.51 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.001716/0.3911, allocations: 0.678 MB / 0.5023 GB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008023/0.3919, allocations: 329 kB / 0.5026 GB, free: 31.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.3922, allocations: 322.1 kB / 0.5029 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.838e-05/0.3923, allocations: 37.58 kB / 0.5029 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.3923, allocations: 1 kB / 0.5029 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3923, allocations: 5.688 kB / 0.503 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/0.3979, allocations: 3.921 MB / 0.5068 GB, free: 29.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.3979, allocations: 5.938 kB / 0.5068 GB, free: 29.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.3983, allocations: 162.5 kB / 0.5069 GB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.3983, allocations: 18.25 kB / 0.507 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.3984, allocations: 30.03 kB / 0.507 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.3984, allocations: 11.56 kB / 0.507 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3984, allocations: 9.906 kB / 0.507 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.3995, allocations: 1.648 MB / 0.5086 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.3998, allocations: 280.2 kB / 0.5089 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.3999, allocations: 32.7 kB / 0.5089 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.4003, allocations: 23.66 kB / 0.5089 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4004, allocations: 92.3 kB / 0.509 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.4005, allocations: 35.69 kB / 0.5091 GB, free: 28.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.4017, allocations: 1.292 MB / 0.5103 GB, free: 27.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4017, allocations: 0 / 0.5103 GB, free: 27.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003296/0.405, allocations: 1.106 MB / 0.5114 GB, free: 27.27 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.0002991/0.4053, allocations: 157.6 kB / 0.5116 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.4081, allocations: 2.578 MB / 0.5141 GB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4081, allocations: 3.469 kB / 0.5141 GB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.4085, allocations: 373.1 kB / 0.5144 GB, free: 26.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.4095, allocations: 303.4 kB / 0.5147 GB, free: 26.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.416, allocations: 6.761 MB / 0.5213 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009094/0.4169, allocations: 1.176 MB / 0.5225 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001096/0.418, allocations: 0.4997 MB / 0.523 GB, free: 19.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.4186, allocations: 482.9 kB / 0.5234 GB, free: 19.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.455e-06/0.4186, allocations: 0 / 0.5234 GB, free: 19.48 MB / 410.7 MB Notification: Performance of Templates: time 0.03612/0.4547, allocations: 19.4 MB / 0.5424 GB, free: 4.219 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.6421822109259665]