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.001222/0.001222, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001053/0.001053, allocations: 168.8 kB / 24.91 MB, free: 9.199 MB / 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 0.9789/0.9789, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2702/0.2702, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.253e-06/1.253e-06, allocations: 0 / 325.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.816e-05, allocations: 3.016 kB / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004371/0.004389, allocations: 5.177 MB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.006975, allocations: 1.795 MB / 332.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.007242, allocations: 19.94 kB / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009373/0.00818, allocations: 0.5639 MB / 332.8 MB, free: 144 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.009425, allocations: 0.9652 MB / 333.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.814e-05/0.009503, allocations: 27.84 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.01145, allocations: 2.597 MB / 336.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.01249, allocations: 1.122 MB / 337.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.01333, allocations: 0.8689 MB / 338.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.01425, allocations: 0.9235 MB / 339.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.01441, allocations: 92 kB / 339.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.01476, allocations: 259.5 kB / 339.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004163/0.01518, allocations: 0.7477 MB / 340.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.01557, allocations: 430.2 kB / 340.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.01702, allocations: 1.777 MB / 342.6 MB, free: 6.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.01703, allocations: 8 kB / 342.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01703, allocations: 0 / 342.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.01707, allocations: 0 / 342.6 MB, free: 6.293 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.001761/0.01883, allocations: 1.893 MB / 344.5 MB, free: 4.363 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.01887, allocations: 12.02 kB / 344.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.02059, allocations: 0.664 MB / 345.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/0.02132, allocations: 0.6318 MB / 345.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.02136, allocations: 90.45 kB / 345.8 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.02151, allocations: 108.2 kB / 346 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.02358, allocations: 2.473 MB / 348.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.02362, allocations: 31.67 kB / 348.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.02373, allocations: 63.91 kB / 348.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009147/0.02465, allocations: 1.022 MB / 349.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.0263, allocations: 1.212 MB / 350.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009645/0.03595, allocations: 17.46 MB / 368.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.03634, allocations: 391.8 kB / 368.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/0.03643, allocations: 87.41 kB / 368.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.03645, allocations: 4 kB / 368.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.03647, allocations: 46.5 kB / 368.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 1.944e-06/0.03647, allocations: 0 / 368.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0004648/0.03694, allocations: 335.5 kB / 369.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.037, allocations: 136.5 kB / 369.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.03808, allocations: 1.703 MB / 370.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.03811, allocations: 29.7 kB / 370.9 MB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007344/0.03884, allocations: 1.835 MB / 372.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.03899, allocations: 309.8 kB / 373.1 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005268/0.03952, allocations: 0.739 MB / 373.8 MB, free: 5.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.0396, allocations: 333.8 kB / 374.1 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.04, allocations: 405.1 kB / 374.5 MB, free: 4.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.04149, allocations: 2.941 MB / 377.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.0441, allocations: 3.787 MB / 381.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.888e-05/0.04413, allocations: 28 kB / 381.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002254/0.04639, allocations: 2.631 MB / 383.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.04643, allocations: 48 kB / 384 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.173e-05/0.04648, allocations: 92.84 kB / 384 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.25e-05/0.04655, allocations: 124 kB / 384.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.04773, allocations: 0.8616 MB / 385 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-05/0.04781, allocations: 191.2 kB / 385.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.04888, allocations: 0.5273 MB / 385.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.04904, allocations: 220 kB / 386 MB, free: 6.734 MB / 362.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.0003939/0.04943, allocations: 440.4 kB / 386.4 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.04954, allocations: 99.83 kB / 386.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.04967, allocations: 159.9 kB / 386.6 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.0497, allocations: 16 kB / 386.7 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.0497, allocations: 3.938 kB / 386.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.04971, allocations: 11.97 kB / 386.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.05099, allocations: 1.215 MB / 387.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.05099, allocations: 0 / 387.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.05112, allocations: 55.86 kB / 387.9 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.05112, allocations: 0 / 387.9 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.05114, allocations: 12 kB / 388 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.05114, allocations: 4 kB / 388 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.05114, allocations: 0 / 388 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.05155, allocations: 0.7591 MB / 388.7 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.05167, allocations: 158.6 kB / 388.9 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.05175, allocations: 15.98 kB / 388.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.05195, allocations: 8 kB / 388.9 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.05199, allocations: 23.95 kB / 388.9 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.05201, allocations: 16 kB / 388.9 MB, free: 3.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004541/0.05246, allocations: 0.6262 MB / 389.6 MB, free: 3.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05246, allocations: 0 / 389.6 MB, free: 3.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001277/0.05374, allocations: 0.5457 MB / 390.1 MB, free: 2.488 MB / 362.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.0001943/0.05393, allocations: 116.2 kB / 390.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.055, allocations: 1.438 MB / 391.7 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.683e-05/0.05508, allocations: 60.19 kB / 391.7 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.05518, allocations: 110 kB / 391.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.05571, allocations: 149.2 kB / 392 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.05862, allocations: 3.314 MB / 395.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.05904, allocations: 0.5709 MB / 395.9 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005284/0.05957, allocations: 282.3 kB / 396.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.05983, allocations: 279.3 kB / 396.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05983, allocations: 0 / 396.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of Templates: time 0.01735/0.07718, allocations: 12.72 MB / 409.1 MB, free: 15.48 MB / 394.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.1793074598535895]