Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.000866, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001956, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006576/0.0006576, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000935/0.001593, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8841/0.8841, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1602/1.044, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1262/0.1262, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02416/0.1503, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 3.938 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.867e-05, allocations: 9.484 kB / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.009056/0.009075, allocations: 11.45 MB / 297.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007678/0.01675, allocations: 4.178 MB / 301.5 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.01803, allocations: 87.69 kB / 301.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.01994, allocations: 1.736 MB / 303.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.02235, allocations: 1.649 MB / 304.9 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.02354, allocations: 1.192 MB / 306.1 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.02642, allocations: 3.414 MB / 309.5 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.02819, allocations: 2.028 MB / 311.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.0297, allocations: 1.807 MB / 313.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.03103, allocations: 1.566 MB / 314.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.0313, allocations: 240 kB / 315.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.03218, allocations: 0.706 MB / 315.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009315/0.03311, allocations: 1.539 MB / 317.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006175/0.03373, allocations: 0.8291 MB / 318.2 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.03629, allocations: 3.73 MB / 322 MB, free: 4.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.0363, allocations: 0 / 322 MB, free: 4.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.0363, allocations: 0 / 322 MB, free: 4.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-05/0.03635, allocations: 0 / 322 MB, free: 4.086 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.1506/0.1869, allocations: 4.654 MB / 326.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1869, allocations: 9.438 kB / 326.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.1906, allocations: 1.335 MB / 328 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.1925, allocations: 1.426 MB / 329.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/0.1925, allocations: 195.2 kB / 329.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.1929, allocations: 249.5 kB / 329.8 MB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/0.1975, allocations: 4.728 MB / 334.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.1976, allocations: 29.03 kB / 334.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.1978, allocations: 127.3 kB / 334.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001631/0.1994, allocations: 1.96 MB / 336.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/0.2033, allocations: 2.516 MB / 339.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01865/0.222, allocations: 29.62 MB / 368.8 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.224, allocations: 1.228 MB / 370 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.2243, allocations: 291.2 kB / 370.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003816/0.2281, allocations: 3.46 MB / 373.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.2282, allocations: 56.56 kB / 373.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=150): time 3.226e-06/0.2282, allocations: 0 / 373.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=150): time 0.002438/0.2306, allocations: 1.387 MB / 375.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.2307, allocations: 166.9 kB / 375.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.2324, allocations: 2.75 MB / 378.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.2324, allocations: 41.7 kB / 378.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.234, allocations: 3.271 MB / 381.5 MB, free: 8.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.2343, allocations: 0.6168 MB / 382.1 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009209/0.2352, allocations: 1.229 MB / 383.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.2353, allocations: 362.4 kB / 383.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/0.236, allocations: 0.6862 MB / 384.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.2388, allocations: 4.744 MB / 389.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005077/0.2439, allocations: 6.695 MB / 395.8 MB, free: 7.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.633e-05/0.2439, allocations: 44.25 kB / 395.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.004506/0.2484, allocations: 4.356 MB / 400.2 MB, free: 3.137 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.2485, allocations: 69.31 kB / 400.2 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.2486, allocations: 156 kB / 400.4 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.2487, allocations: 204 kB / 400.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/0.2511, allocations: 1.603 MB / 402.2 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001482/0.2513, allocations: 290.9 kB / 402.5 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.2535, allocations: 0.862 MB / 403.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.2538, allocations: 352 kB / 403.7 MB, free: 15.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (807): * Single equations (assignments): 801 * 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.001171/0.2549, allocations: 0.653 MB / 404.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.2552, allocations: 187.7 kB / 404.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.2555, allocations: 320.7 kB / 404.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/0.2555, allocations: 31.98 kB / 404.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.2555, allocations: 0 / 404.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2555, allocations: 3.984 kB / 404.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.2588, allocations: 2.851 MB / 407.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.2589, allocations: 15.98 kB / 407.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.2593, allocations: 187.8 kB / 407.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.2595, allocations: 276.6 kB / 408.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.2595, allocations: 15.94 kB / 408.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.2596, allocations: 25.64 kB / 408.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.2596, allocations: 12.47 kB / 408.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.2596, allocations: 15.94 kB / 408.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.2604, allocations: 1.211 MB / 409.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.2606, allocations: 31.94 kB / 409.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.261, allocations: 23.94 kB / 409.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.2611, allocations: 82.36 kB / 409.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.2611, allocations: 39.98 kB / 409.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000784/0.2619, allocations: 1.037 MB / 410.7 MB, free: 9.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2619, allocations: 4 kB / 410.7 MB, free: 9.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002597/0.2645, allocations: 1.149 MB / 411.8 MB, free: 7.98 MB / 378.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.0002772/0.2648, allocations: 130 kB / 412 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.2673, allocations: 2.627 MB / 414.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001657/0.2675, allocations: 112.6 kB / 414.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.2679, allocations: 384.9 kB / 415.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.2694, allocations: 1.668 MB / 416.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/0.2772, allocations: 7.164 MB / 423.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009305/0.2781, allocations: 1.169 MB / 425.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.2792, allocations: 492.5 kB / 425.6 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.2796, allocations: 441 kB / 426 MB, free: 9.812 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2796, allocations: 0 / 426 MB, free: 9.812 MB / 394.7 MB Notification: Performance of Templates: time 0.0303/0.31, allocations: 16.99 MB / 443 MB, free: 8.895 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.1068923035636544]