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.0009715/0.0009715, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.00224, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006937/0.0006937, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009595/0.001653, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.057/1.057, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2183/1.275, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] 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.1589/0.1589, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03389/0.1928, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.188e-05, allocations: 6.25 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01131/0.01134, allocations: 11.79 MB / 279.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.02204, allocations: 4.19 MB / 283.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.02524, allocations: 91.69 kB / 283.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.02869, allocations: 1.74 MB / 285.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2227/0.2514, allocations: 1.69 MB / 286.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.2543, allocations: 1.201 MB / 288.1 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007407/0.2617, allocations: 3.509 MB / 291.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003684/0.2654, allocations: 2.074 MB / 293.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.2697, allocations: 1.861 MB / 295.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.2733, allocations: 1.645 MB / 297.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008179/0.2741, allocations: 254.2 kB / 297.4 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.2759, allocations: 0.7099 MB / 298.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.2776, allocations: 1.598 MB / 299.7 MB, free: 428 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.2792, allocations: 0.8635 MB / 300.6 MB, free: 228 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.2846, allocations: 3.841 MB / 304.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.2846, allocations: 0.5625 kB / 304.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.2846, allocations: 5.219 kB / 304.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002154/0.2849, allocations: 0.5 kB / 304.4 MB, free: 14.99 MB / 298.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.007832/0.2927, allocations: 4.79 MB / 309.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.2927, allocations: 14.94 kB / 309.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/0.2966, allocations: 1.367 MB / 310.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/0.2995, allocations: 1.449 MB / 312.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.2997, allocations: 202.8 kB / 312.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004317/0.3001, allocations: 255.8 kB / 312.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007381/0.3075, allocations: 4.868 MB / 317.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.782e-05/0.3075, allocations: 34.28 kB / 317.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.3078, allocations: 131 kB / 317.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/0.3099, allocations: 2.012 MB / 319.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006068/0.316, allocations: 2.608 MB / 322.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03345/0.3494, allocations: 30.15 MB / 352.3 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.3524, allocations: 1.276 MB / 353.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.3528, allocations: 310.3 kB / 353.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005432/0.3583, allocations: 3.631 MB / 357.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.3583, allocations: 50.5 kB / 357.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=153): time 4.498e-06/0.3583, allocations: 0 / 357.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=153): time 0.002795/0.3611, allocations: 1.404 MB / 359 MB, free: 10.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3612, allocations: 166.9 kB / 359.1 MB, free: 9.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/0.364, allocations: 2.802 MB / 361.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.3641, allocations: 41.7 kB / 362 MB, free: 7.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.3658, allocations: 3.371 MB / 365.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.3662, allocations: 0.6258 MB / 366 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.3673, allocations: 1.265 MB / 367.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3675, allocations: 357.8 kB / 367.6 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007906/0.3682, allocations: 0.7018 MB / 368.3 MB, free: 1.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.3712, allocations: 4.871 MB / 373.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/0.3773, allocations: 6.883 MB / 380 MB, free: 1.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.782e-05/0.3774, allocations: 44 kB / 380.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.005621/0.383, allocations: 4.457 MB / 384.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.859e-05/0.3831, allocations: 75.98 kB / 384.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/0.3833, allocations: 160.9 kB / 384.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.3834, allocations: 204 kB / 385 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/0.3864, allocations: 1.646 MB / 386.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000207/0.3866, allocations: 306.8 kB / 386.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/0.3901, allocations: 0.8916 MB / 387.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/0.3904, allocations: 360 kB / 388.2 MB, free: 9.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * 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 (829): * Single equations (assignments): 823 * 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 prepare postOptimizeDAE: time 0.001704/0.3922, allocations: 0.6591 MB / 388.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.3925, allocations: 191.8 kB / 389 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.3928, allocations: 325.4 kB / 389.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.776e-05/0.3929, allocations: 31.98 kB / 389.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3929, allocations: 4 kB / 389.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3929, allocations: 7.969 kB / 389.4 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.3971, allocations: 2.943 MB / 392.3 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/0.3971, allocations: 12 kB / 392.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.3976, allocations: 195.8 kB / 392.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.398, allocations: 289.5 kB / 392.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.398, allocations: 12 kB / 392.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.3981, allocations: 28.56 kB / 392.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.3981, allocations: 11.98 kB / 392.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3981, allocations: 15.94 kB / 392.9 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.3997, allocations: 1.256 MB / 394.1 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.3999, allocations: 27.98 kB / 394.1 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.4004, allocations: 28 kB / 394.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.4005, allocations: 80.23 kB / 394.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.4005, allocations: 40 kB / 394.3 MB, free: 3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.4016, allocations: 1.068 MB / 395.4 MB, free: 1.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4016, allocations: 0 / 395.4 MB, free: 1.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004078/0.4057, allocations: 1.173 MB / 396.5 MB, free: 0.7617 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.0004127/0.4061, allocations: 151.9 kB / 396.7 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004/0.4101, allocations: 2.698 MB / 399.4 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002416/0.4103, allocations: 106.8 kB / 399.5 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.4109, allocations: 396.9 kB / 399.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.4138, allocations: 1.623 MB / 401.5 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.4266, allocations: 7.393 MB / 408.9 MB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.4277, allocations: 1.203 MB / 410.1 MB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001472/0.4292, allocations: 0.4967 MB / 410.6 MB, free: 2.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.4297, allocations: 439.3 kB / 411 MB, free: 1.965 MB / 394.7 MB Notification: Performance of SimCode: time 2.625e-06/0.4297, allocations: 0 / 411 MB, free: 1.965 MB / 394.7 MB Notification: Performance of Templates: time 0.04179/0.4715, allocations: 17.08 MB / 428.1 MB, free: 0.8516 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.733106723986566]