Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.002479/0.002479, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002661/0.002661, allocations: 161.3 kB / 24.27 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.663/1.663, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3787/0.3787, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 377.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.901e-05, allocations: 2.312 kB / 377.2 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007797/0.007826, allocations: 5.22 MB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.01164, allocations: 1.76 MB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.01201, allocations: 23.94 kB / 384.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.01338, allocations: 0.5602 MB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.01547, allocations: 0.9528 MB / 385.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.864e-05/0.01557, allocations: 19.91 kB / 385.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00341/0.01898, allocations: 2.594 MB / 388.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.02087, allocations: 1.086 MB / 389.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.02238, allocations: 0.865 MB / 390.3 MB, free: 5.867 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.02399, allocations: 1.021 MB / 391.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.02423, allocations: 88 kB / 391.4 MB, free: 4.758 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006889/0.02492, allocations: 275.5 kB / 391.7 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008328/0.02575, allocations: 0.736 MB / 392.4 MB, free: 3.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006113/0.02636, allocations: 438.2 kB / 392.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.02973, allocations: 2.705 MB / 395.6 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02973, allocations: 0 / 395.6 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.02973, allocations: 0 / 395.6 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.931e-05/0.02976, allocations: 0 / 395.6 MB, free: 0.6055 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.004029/0.03379, allocations: 2.502 MB / 398.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.03385, allocations: 12.03 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005763/0.03961, allocations: 1.754 MB / 399.8 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.04161, allocations: 0.7789 MB / 400.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.376e-05/0.0417, allocations: 90.47 kB / 400.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.04195, allocations: 108.3 kB / 400.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00542/0.04737, allocations: 3.235 MB / 404 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/0.04742, allocations: 19.81 kB / 404.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.0476, allocations: 67.89 kB / 404.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/0.04972, allocations: 1.189 MB / 405.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004256/0.05398, allocations: 1.665 MB / 407 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02985/0.08383, allocations: 26.74 MB / 433.7 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.08488, allocations: 413.2 kB / 434.1 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.08516, allocations: 138.7 kB / 434.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.08518, allocations: 11.94 kB / 434.3 MB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.08523, allocations: 45.39 kB / 434.3 MB, free: 8.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.625e-06/0.08523, allocations: 3.938 kB / 434.3 MB, free: 8.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001411/0.08664, allocations: 0.5476 MB / 434.9 MB, free: 7.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.08676, allocations: 132.5 kB / 435 MB, free: 7.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/0.09079, allocations: 2.773 MB / 437.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.09084, allocations: 33.7 kB / 437.8 MB, free: 4.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/0.09284, allocations: 2.119 MB / 439.9 MB, free: 2.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.09322, allocations: 341.9 kB / 440.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.09462, allocations: 1.001 MB / 441.3 MB, free: 1.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004264/0.09505, allocations: 0.5121 MB / 441.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/0.09587, allocations: 379.4 kB / 442.2 MB, free: 156 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1858/0.2817, allocations: 4.443 MB / 446.6 MB, free: 92.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/0.2855, allocations: 5.291 MB / 451.9 MB, free: 86.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.095e-05/0.2855, allocations: 29.41 kB / 451.9 MB, free: 86.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005082/0.2906, allocations: 3.326 MB / 455.2 MB, free: 85.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.2907, allocations: 46.41 kB / 455.3 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-05/0.2907, allocations: 95.12 kB / 455.4 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.2909, allocations: 127 kB / 455.5 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.2929, allocations: 0.8706 MB / 456.4 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000116/0.293, allocations: 184 kB / 456.6 MB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.2951, allocations: 0.5326 MB / 457.1 MB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.2954, allocations: 262 kB / 457.3 MB, free: 85.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.000788/0.2962, allocations: 0.5394 MB / 457.9 MB, free: 85.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.2964, allocations: 184.8 kB / 458.1 MB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.2967, allocations: 163.8 kB / 458.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-05/0.2967, allocations: 14.97 kB / 458.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2967, allocations: 3 kB / 458.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2967, allocations: 3.281 kB / 458.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.3002, allocations: 2.181 MB / 460.4 MB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3002, allocations: 3.938 kB / 460.4 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.3004, allocations: 60.05 kB / 460.5 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.3004, allocations: 3.281 kB / 460.5 MB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3005, allocations: 11.41 kB / 460.5 MB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3005, allocations: 10.44 kB / 460.5 MB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3005, allocations: 0 / 460.5 MB, free: 85.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.3012, allocations: 1.002 MB / 461.5 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.3015, allocations: 155.3 kB / 461.7 MB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3016, allocations: 17.78 kB / 461.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.302, allocations: 16.27 kB / 461.7 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.3021, allocations: 29.84 kB / 461.7 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.3021, allocations: 26.84 kB / 461.8 MB, free: 84.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.3035, allocations: 1.057 MB / 462.8 MB, free: 83.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3035, allocations: 0 / 462.8 MB, free: 83.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003317/0.3068, allocations: 0.5477 MB / 463.4 MB, free: 83.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.0003228/0.3071, allocations: 130.4 kB / 463.5 MB, free: 83.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.3101, allocations: 1.742 MB / 465.2 MB, free: 83.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.3101, allocations: 0 / 465.2 MB, free: 83.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.3104, allocations: 180 kB / 465.4 MB, free: 82.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3114, allocations: 160.9 kB / 465.6 MB, free: 82.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.317, allocations: 3.264 MB / 468.8 MB, free: 81.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3182, allocations: 1.14 MB / 470 MB, free: 80.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001949/0.3202, allocations: 1.077 MB / 471 MB, free: 80.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.3204, allocations: 128.8 kB / 471.2 MB, free: 80.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3204, allocations: 0 / 471.2 MB, free: 80.75 MB / 410.7 MB Notification: Performance of Templates: time 0.02628/0.3467, allocations: 11.7 MB / 482.9 MB, free: 79.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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: 5.8578695729374886]