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.002338/0.002338, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002741/0.002741, allocations: 169.6 kB / 24.28 MB, free: 152 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 1.611/1.611, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3517/0.3517, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.3.|freeMotion.r.2.|freeMotion.r.1.",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.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.231e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01682/0.01686, allocations: 11.42 MB / 388.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009361/0.02622, allocations: 4.015 MB / 392.7 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.02789, allocations: 87.69 kB / 392.8 MB, free: 3.398 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003962/0.03186, allocations: 1.771 MB / 394.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.0361, allocations: 1.606 MB / 396.2 MB, free: 8 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.039, allocations: 1.274 MB / 397.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005654/0.04466, allocations: 3.567 MB / 401 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.04768, allocations: 2.055 MB / 403.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.05035, allocations: 1.723 MB / 404.8 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.05292, allocations: 1.644 MB / 406.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005135/0.05343, allocations: 240 kB / 406.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.05494, allocations: 0.6826 MB / 407.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.05674, allocations: 1.648 MB / 409 MB, free: 3.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.05823, allocations: 0.9457 MB / 409.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00869/0.06692, allocations: 6.034 MB / 416 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.06692, allocations: 0 / 416 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.06692, allocations: 4 kB / 416 MB, free: 12.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002054/0.06713, allocations: 0 / 416 MB, free: 12.09 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.009971/0.0771, allocations: 4.847 MB / 420.8 MB, free: 7.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.07714, allocations: 8.031 kB / 420.8 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.08891, allocations: 3.489 MB / 424.3 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00547/0.09438, allocations: 1.679 MB / 426 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.0946, allocations: 197.1 kB / 426.2 MB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009385/0.09554, allocations: 248.2 kB / 426.4 MB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.1111, allocations: 5.999 MB / 432.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.603e-05/0.1112, allocations: 31.69 kB / 432.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004627/0.1117, allocations: 123.8 kB / 432.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004205/0.1159, allocations: 2.317 MB / 434.9 MB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.1272, allocations: 3.416 MB / 438.3 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2344/0.3616, allocations: 45.98 MB / 484.3 MB, free: 58.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.3656, allocations: 1.374 MB / 485.7 MB, free: 58.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009263/0.3665, allocations: 442.9 kB / 486.1 MB, free: 57.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008466/0.375, allocations: 4.272 MB / 490.4 MB, free: 55.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.375, allocations: 47.83 kB / 490.4 MB, free: 55.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.31e-06/0.375, allocations: 2.844 kB / 490.4 MB, free: 55.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.005006/0.38, allocations: 1.764 MB / 492.2 MB, free: 54.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.3801, allocations: 164.4 kB / 492.4 MB, free: 54.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/0.3853, allocations: 4.426 MB / 496.8 MB, free: 52.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.3855, allocations: 44.14 kB / 496.8 MB, free: 52.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/0.3877, allocations: 3.686 MB / 0.4888 GB, free: 50.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007247/0.3885, allocations: 0.6881 MB / 0.4895 GB, free: 49.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/0.3905, allocations: 1.656 MB / 0.4911 GB, free: 48.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3907, allocations: 0.5559 MB / 0.4916 GB, free: 48.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.3924, allocations: 0.6707 MB / 0.4923 GB, free: 48.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004119/0.3965, allocations: 7.055 MB / 0.4992 GB, free: 39.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/0.4034, allocations: 8.481 MB / 0.5074 GB, free: 30.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000242/0.4036, allocations: 45.78 kB / 0.5075 GB, free: 30.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01067/0.4143, allocations: 5.492 MB / 0.5128 GB, free: 27.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4144, allocations: 69.88 kB / 0.5129 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002178/0.4146, allocations: 148.8 kB / 0.5131 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.4148, allocations: 192.2 kB / 0.5132 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004178/0.4189, allocations: 1.459 MB / 0.5147 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001711/0.4191, allocations: 286 kB / 0.5149 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/0.4236, allocations: 0.9042 MB / 0.5158 GB, free: 27.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007602/0.4243, allocations: 397.5 kB / 0.5162 GB, free: 27.09 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.002038/0.4264, allocations: 0.7923 MB / 0.517 GB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/0.427, allocations: 327.4 kB / 0.5173 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/0.4277, allocations: 318.4 kB / 0.5176 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/0.4277, allocations: 34.95 kB / 0.5176 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.4277, allocations: 3.234 kB / 0.5176 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.4277, allocations: 7.203 kB / 0.5176 GB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008078/0.4358, allocations: 4.92 MB / 0.5224 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.4358, allocations: 8 kB / 0.5224 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008893/0.4367, allocations: 208.4 kB / 0.5226 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.4367, allocations: 12.66 kB / 0.5227 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.4368, allocations: 27.47 kB / 0.5227 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.4368, allocations: 19.94 kB / 0.5227 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4368, allocations: 7.938 kB / 0.5227 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.4386, allocations: 1.769 MB / 0.5244 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.4391, allocations: 287.8 kB / 0.5247 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.4394, allocations: 28 kB / 0.5247 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.4403, allocations: 65.75 kB / 0.5248 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4404, allocations: 85.5 kB / 0.5249 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.4405, allocations: 48 kB / 0.5249 GB, free: 19.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00214/0.4427, allocations: 1.66 MB / 0.5265 GB, free: 18.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4427, allocations: 0 / 0.5265 GB, free: 18.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004542/0.4472, allocations: 1.106 MB / 0.5276 GB, free: 16.98 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.0003238/0.4475, allocations: 154.2 kB / 0.5278 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00515/0.4527, allocations: 3.034 MB / 0.5307 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.4527, allocations: 0 / 0.5307 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.4534, allocations: 453.7 kB / 0.5312 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.4551, allocations: 310.5 kB / 0.5315 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.4658, allocations: 6.884 MB / 0.5382 GB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/0.4687, allocations: 2.312 MB / 0.5404 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004315/0.473, allocations: 1.894 MB / 0.5423 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.4734, allocations: 208.2 kB / 0.5425 GB, free: 4.027 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4735, allocations: 4 kB / 0.5425 GB, free: 4.023 MB / 410.7 MB Notification: Performance of Templates: time 0.0446/0.518, allocations: 16.84 MB / 0.5589 GB, free: 5.164 MB / 426.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.521087052999064]