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.001135/0.001135, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.002994, allocations: 449.7 kB / 10.37 MB, free: 328 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.001102/0.001102, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002416, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9811/0.9811, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08651/1.068, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.2608/0.2608, allocations: 34.24 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02317/0.2839, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.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.143e-06/1.143e-06, allocations: 0 / 292.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.091e-05, allocations: 7.016 kB / 292.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004718/0.004739, allocations: 5.263 MB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.007522, allocations: 1.807 MB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.007845, allocations: 19.94 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.008568, allocations: 0.5678 MB / 300.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.009853, allocations: 0.9567 MB / 301.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.402e-05/0.009927, allocations: 12 kB / 301.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001755/0.01168, allocations: 2.415 MB / 303.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.01249, allocations: 0.837 MB / 304.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007773/0.01327, allocations: 0.8965 MB / 305.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.01438, allocations: 0.9118 MB / 306.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.01453, allocations: 88 kB / 306.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.01492, allocations: 271.6 kB / 306.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.01529, allocations: 0.6738 MB / 307.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.01556, allocations: 366.5 kB / 307.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.01673, allocations: 1.688 MB / 309.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.01674, allocations: 0 / 309.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01674, allocations: 0 / 309.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.01676, allocations: 0 / 309.3 MB, free: 5.504 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.001593/0.01835, allocations: 2.251 MB / 311.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.01838, allocations: 12.03 kB / 311.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.01996, allocations: 0.7315 MB / 312.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.02053, allocations: 0.6396 MB / 313 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.02084, allocations: 82.47 kB / 313.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.02096, allocations: 116.3 kB / 313.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.02274, allocations: 2.473 MB / 315.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.02277, allocations: 23.75 kB / 315.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.02286, allocations: 59.91 kB / 315.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008461/0.02371, allocations: 1.033 MB / 316.8 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.02512, allocations: 1.219 MB / 318 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009131/0.03425, allocations: 17.44 MB / 335.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.03463, allocations: 387.8 kB / 335.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.163e-05/0.03472, allocations: 92.31 kB / 335.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.03473, allocations: 4 kB / 335.9 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.03476, allocations: 46.58 kB / 335.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 1.683e-06/0.03476, allocations: 0 / 335.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.0004185/0.03518, allocations: 330.7 kB / 336.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.03522, allocations: 148.5 kB / 336.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009698/0.03619, allocations: 1.699 MB / 338.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.03622, allocations: 33.69 kB / 338.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.03688, allocations: 1.831 MB / 340 MB, free: 5.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.03703, allocations: 313.8 kB / 340.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.0375, allocations: 0.739 MB / 341 MB, free: 4.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.03758, allocations: 329.9 kB / 341.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.03819, allocations: 405.1 kB / 341.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.03951, allocations: 2.93 MB / 344.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.0419, allocations: 3.795 MB / 348.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-05/0.04193, allocations: 28 kB / 348.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002252/0.04418, allocations: 2.634 MB / 351.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.04422, allocations: 51.98 kB / 351.2 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.058e-05/0.04429, allocations: 92 kB / 351.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.708e-05/0.04435, allocations: 124 kB / 351.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.04569, allocations: 0.9475 MB / 352.3 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.403e-05/0.04577, allocations: 191.2 kB / 352.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.04688, allocations: 0.5239 MB / 353 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.04706, allocations: 224 kB / 353.3 MB, free: 5.398 MB / 346.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.0004726/0.04753, allocations: 448.3 kB / 353.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.04765, allocations: 95.88 kB / 353.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.04778, allocations: 159.9 kB / 353.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.0478, allocations: 16 kB / 354 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.04781, allocations: 11.92 kB / 354 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.04781, allocations: 0 / 354 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.04911, allocations: 1.195 MB / 355.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.04911, allocations: 4 kB / 355.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.04925, allocations: 63.86 kB / 355.2 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.04935, allocations: 150.7 kB / 355.4 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.04936, allocations: 4 kB / 355.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.04938, allocations: 7.984 kB / 355.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.04938, allocations: 4 kB / 355.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.04938, allocations: 0 / 355.4 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.04978, allocations: 0.7652 MB / 356.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.04985, allocations: 8 kB / 356.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.05005, allocations: 4 kB / 356.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.05009, allocations: 23.95 kB / 356.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.05012, allocations: 19.98 kB / 356.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000458/0.05057, allocations: 0.6301 MB / 356.8 MB, free: 1.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05057, allocations: 0 / 356.8 MB, free: 1.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001338/0.05191, allocations: 0.5496 MB / 357.4 MB, free: 1.156 MB / 346.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.0002167/0.05213, allocations: 108.2 kB / 357.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.05333, allocations: 1.452 MB / 359 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.154e-05/0.05342, allocations: 55.94 kB / 359 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.05353, allocations: 110 kB / 359.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.05412, allocations: 263.5 kB / 359.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.05797, allocations: 3.345 MB / 362.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.05843, allocations: 0.5708 MB / 363.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005975/0.05903, allocations: 294.2 kB / 363.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.05931, allocations: 283.3 kB / 363.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.05931, allocations: 0 / 363.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Templates: time 0.01858/0.07789, allocations: 12.85 MB / 376.7 MB, free: 13.86 MB / 378.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 -ignoreHideResult -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.149030745960772]