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.00141/0.00141, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.001557/0.001557, allocations: 165 kB / 24.56 MB, free: 20 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] 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.2693/0.2693, allocations: 34.25 MB / 295.7 MB, free: 0.7344 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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 378 MB, free: 2.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.829e-05, allocations: 6.25 kB / 378 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004482/0.0045, allocations: 5.271 MB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.007537, allocations: 1.76 MB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.008038, allocations: 23.94 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.009111, allocations: 0.5601 MB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.0109, allocations: 0.9606 MB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.981e-05/0.011, allocations: 15.92 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.01319, allocations: 2.594 MB / 389.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.0146, allocations: 1.094 MB / 390.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.0158, allocations: 0.865 MB / 391.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.01704, allocations: 1.025 MB / 392.2 MB, free: 4.473 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002687/0.01731, allocations: 88 kB / 392.3 MB, free: 4.387 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.01781, allocations: 267.5 kB / 392.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.01844, allocations: 0.7438 MB / 393.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.01885, allocations: 430.2 kB / 393.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.02049, allocations: 1.773 MB / 395.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.02049, allocations: 0 / 395.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0205, allocations: 0 / 395.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.732e-05/0.02056, allocations: 7.938 kB / 395.5 MB, free: 1.168 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.002588/0.02315, allocations: 2.264 MB / 397.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.02319, allocations: 8.031 kB / 397.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.0262, allocations: 1.758 MB / 399.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.02736, allocations: 0.7946 MB / 400.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/0.02741, allocations: 82.47 kB / 400.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.02756, allocations: 112.3 kB / 400.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.03043, allocations: 3.032 MB / 403.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.03047, allocations: 19.81 kB / 403.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.03059, allocations: 63.91 kB / 403.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/0.03169, allocations: 1.181 MB / 404.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.03432, allocations: 1.448 MB / 406.2 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.04944, allocations: 25.05 MB / 431.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.05011, allocations: 396.9 kB / 431.7 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.05026, allocations: 122.7 kB / 431.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.05028, allocations: 12 kB / 431.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.05031, allocations: 41.33 kB / 431.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.697e-06/0.05031, allocations: 0 / 431.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007732/0.05109, allocations: 0.5357 MB / 432.4 MB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.05114, allocations: 140.5 kB / 432.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.05319, allocations: 2.176 MB / 434.7 MB, free: 8.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.05324, allocations: 29.7 kB / 434.7 MB, free: 8.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.055, allocations: 2.005 MB / 436.7 MB, free: 6.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.05533, allocations: 325.8 kB / 437 MB, free: 5.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007042/0.05604, allocations: 0.8685 MB / 437.9 MB, free: 4.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.05617, allocations: 0.5004 MB / 438.4 MB, free: 4.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.05674, allocations: 347.4 kB / 438.7 MB, free: 4.023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.0594, allocations: 4.289 MB / 443 MB, free: 13.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/0.06324, allocations: 5.109 MB / 448.1 MB, free: 6.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-05/0.06331, allocations: 31.94 kB / 448.2 MB, free: 6.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004088/0.06739, allocations: 3.258 MB / 451.4 MB, free: 3.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.06744, allocations: 48 kB / 451.5 MB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.866e-05/0.06752, allocations: 92 kB / 451.6 MB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.749e-05/0.06761, allocations: 127.9 kB / 451.7 MB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.06902, allocations: 0.8771 MB / 452.6 MB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.06912, allocations: 187.9 kB / 452.8 MB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.07057, allocations: 0.543 MB / 453.3 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.07079, allocations: 252 kB / 453.5 MB, free: 1.559 MB / 426.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.0005678/0.07136, allocations: 492.3 kB / 454 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.07172, allocations: 182.8 kB / 454.2 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.07187, allocations: 159.9 kB / 454.4 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.429e-05/0.07193, allocations: 27.92 kB / 454.4 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.07194, allocations: 0 / 454.4 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.07194, allocations: 4 kB / 454.4 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1711/0.243, allocations: 1.748 MB / 456.1 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.243, allocations: 1.562 kB / 456.1 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.2433, allocations: 66.38 kB / 456.2 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2433, allocations: 2.875 kB / 456.2 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2433, allocations: 9.781 kB / 456.2 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.2433, allocations: 3.5 kB / 456.2 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.2433, allocations: 4.406 kB / 456.2 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.244, allocations: 0.9768 MB / 457.2 MB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.2442, allocations: 162.1 kB / 457.4 MB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.2443, allocations: 6.344 kB / 457.4 MB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.2446, allocations: 25.27 kB / 457.4 MB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2446, allocations: 24.94 kB / 457.4 MB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.2447, allocations: 26.36 kB / 457.4 MB, free: 106.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008256/0.2455, allocations: 0.8902 MB / 458.3 MB, free: 105.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2455, allocations: 0 / 458.3 MB, free: 105.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001834/0.2473, allocations: 0.5465 MB / 458.9 MB, free: 105.8 MB / 426.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.0002415/0.2476, allocations: 127 kB / 459 MB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.2495, allocations: 1.566 MB / 460.6 MB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2495, allocations: 0 / 460.6 MB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2497, allocations: 171.4 kB / 460.7 MB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.2503, allocations: 150.3 kB / 460.9 MB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.2537, allocations: 3.227 MB / 464.1 MB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.2541, allocations: 0.5718 MB / 464.7 MB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001327/0.2554, allocations: 1.081 MB / 465.8 MB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2556, allocations: 127.3 kB / 465.9 MB, free: 104.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/0.2556, allocations: 0 / 465.9 MB, free: 104.1 MB / 426.7 MB Notification: Performance of Templates: time 0.02225/0.2779, allocations: 12.25 MB / 478.1 MB, free: 103 MB / 426.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5659780190326273]