Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001935/0.001935, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.002281/0.002281, allocations: 161.7 kB / 23.52 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2253/0.2253, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.115e-05, allocations: 2.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009643/0.009674, allocations: 10.84 MB / 357.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.02, allocations: 3.891 MB / 361.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/0.02268, allocations: 87.69 kB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004498/0.02717, allocations: 1.755 MB / 363.5 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00502/0.03219, allocations: 1.684 MB / 365.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.03547, allocations: 1.247 MB / 366.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007106/0.04258, allocations: 3.691 MB / 370.1 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003637/0.04622, allocations: 2.137 MB / 372.2 MB, free: 364 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.05004, allocations: 1.816 MB / 374.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.05329, allocations: 1.722 MB / 375.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006883/0.05397, allocations: 256 kB / 376 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.05553, allocations: 0.6904 MB / 376.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001969/0.0575, allocations: 1.753 MB / 378.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.05917, allocations: 1.031 MB / 379.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009149/0.06832, allocations: 6.419 MB / 385.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.06832, allocations: 0 / 385.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.06832, allocations: 0 / 385.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001919/0.06852, allocations: 4 kB / 385.9 MB, free: 2.629 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.009104/0.07762, allocations: 4.175 MB / 390.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.07767, allocations: 8.031 kB / 390.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.0897, allocations: 3.68 MB / 393.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.09474, allocations: 1.848 MB / 395.6 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.095, allocations: 201.3 kB / 395.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.09614, allocations: 260.2 kB / 396.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.1166, allocations: 10.53 MB / 406.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.047e-05/0.1167, allocations: 31.69 kB / 406.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004668/0.1172, allocations: 131.8 kB / 406.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004538/0.1217, allocations: 2.439 MB / 409.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/0.1407, allocations: 9.345 MB / 418.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.226/0.3667, allocations: 36.24 MB / 454.8 MB, free: 79.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/0.3726, allocations: 2.531 MB / 457.3 MB, free: 79.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.3743, allocations: 1.171 MB / 458.5 MB, free: 79.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008754/0.3831, allocations: 4.845 MB / 463.4 MB, free: 78.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.3831, allocations: 46.91 kB / 463.4 MB, free: 78.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 6.272e-06/0.3831, allocations: 0 / 463.4 MB, free: 78.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.007648/0.3907, allocations: 3.496 MB / 466.9 MB, free: 77.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.3908, allocations: 167.7 kB / 467.1 MB, free: 77.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006052/0.3969, allocations: 3.868 MB / 470.9 MB, free: 75.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.3971, allocations: 41.52 kB / 471 MB, free: 75.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.3988, allocations: 3.46 MB / 474.4 MB, free: 73.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006839/0.3995, allocations: 0.6342 MB / 475.1 MB, free: 72.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001748/0.4013, allocations: 1.339 MB / 476.4 MB, free: 72.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.4013, allocations: 355.1 kB / 476.8 MB, free: 71.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/0.4037, allocations: 1.999 MB / 478.8 MB, free: 71.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.4073, allocations: 6.306 MB / 485.1 MB, free: 63.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006898/0.4142, allocations: 9.069 MB / 494.1 MB, free: 52.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.4143, allocations: 44 kB / 494.2 MB, free: 52.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01212/0.4264, allocations: 8.276 MB / 0.4907 GB, free: 43.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.4266, allocations: 70.84 kB / 0.4907 GB, free: 43.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002301/0.4268, allocations: 156 kB / 0.4909 GB, free: 43.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.427, allocations: 207 kB / 0.4911 GB, free: 43.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/0.4316, allocations: 1.509 MB / 0.4926 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002392/0.4318, allocations: 298.8 kB / 0.4928 GB, free: 41.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/0.4369, allocations: 0.9245 MB / 0.4937 GB, free: 40.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/0.4379, allocations: 416 kB / 0.4941 GB, free: 40.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.004377/0.4423, allocations: 2.288 MB / 0.4964 GB, free: 38.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/0.443, allocations: 341.9 kB / 0.4967 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009613/0.444, allocations: 389.4 kB / 0.4971 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.229e-05/0.444, allocations: 39.98 kB / 0.4971 GB, free: 37.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.4441, allocations: 0 / 0.4971 GB, free: 37.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.4441, allocations: 7.984 kB / 0.4971 GB, free: 37.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009835/0.4539, allocations: 4.539 MB / 0.5016 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/0.4539, allocations: 8 kB / 0.5016 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/0.4549, allocations: 215.7 kB / 0.5018 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/0.4549, allocations: 8.75 kB / 0.5018 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.4551, allocations: 28 kB / 0.5018 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/0.4551, allocations: 23.92 kB / 0.5018 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4551, allocations: 7.938 kB / 0.5018 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.4577, allocations: 2.597 MB / 0.5044 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007366/0.4585, allocations: 285.6 kB / 0.5046 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/0.4591, allocations: 31.98 kB / 0.5047 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.4604, allocations: 63.92 kB / 0.5047 GB, free: 29.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.4606, allocations: 84.19 kB / 0.5048 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.4607, allocations: 60.98 kB / 0.5049 GB, free: 29.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003506/0.4642, allocations: 2.153 MB / 0.507 GB, free: 27 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.462e-06/0.4642, allocations: 0 / 0.507 GB, free: 27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005626/0.4698, allocations: 1.176 MB / 0.5081 GB, free: 25.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0005421/0.4704, allocations: 161.3 kB / 0.5083 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006297/0.4767, allocations: 4.358 MB / 0.5125 GB, free: 21.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.4767, allocations: 4.125 kB / 0.5125 GB, free: 21.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.4777, allocations: 0.8935 MB / 0.5134 GB, free: 20.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.4803, allocations: 311.6 kB / 0.5137 GB, free: 20.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.495, allocations: 8.81 MB / 0.5223 GB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004304/0.4993, allocations: 2.74 MB / 0.525 GB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004725/0.504, allocations: 2.242 MB / 0.5272 GB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007019/0.5047, allocations: 212.5 kB / 0.5274 GB, free: 5.973 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5047, allocations: 0 / 0.5274 GB, free: 5.973 MB / 378.7 MB Notification: Performance of Templates: time 0.0478/0.5525, allocations: 17.33 MB / 0.5443 GB, free: 4.832 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.446325961034745]