Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009989/0.0009989, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001205/0.001205, allocations: 168 kB / 24.82 MB, free: 8.863 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.28/0.28, allocations: 32.81 MB / 294.6 MB, free: 1.164 MB / 266.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.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.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 376.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.753e-05, allocations: 6.25 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00434/0.004357, allocations: 5.169 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.006498, allocations: 1.74 MB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.006733, allocations: 23.94 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.008115, allocations: 0.5601 MB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.009328, allocations: 0.9607 MB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.531e-05/0.009393, allocations: 19.86 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.01108, allocations: 2.602 MB / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007676/0.01184, allocations: 1.09 MB / 388.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.01252, allocations: 0.865 MB / 389.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/0.01338, allocations: 1.029 MB / 390.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.0135, allocations: 88 kB / 390.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.01386, allocations: 259.6 kB / 390.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006544/0.01451, allocations: 0.7438 MB / 391.6 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.01479, allocations: 434.2 kB / 392 MB, free: 4.766 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.01603, allocations: 1.773 MB / 393.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01603, allocations: 4 kB / 393.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01603, allocations: 0 / 393.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.01605, allocations: 0 / 393.8 MB, free: 2.98 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.001643/0.01769, allocations: 2.271 MB / 396.1 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01773, allocations: 8.031 kB / 396.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.01953, allocations: 0.8618 MB / 396.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.02016, allocations: 0.7164 MB / 397.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.0202, allocations: 86.47 kB / 397.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.02034, allocations: 108.3 kB / 397.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.02261, allocations: 2.856 MB / 400.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.02264, allocations: 23.75 kB / 400.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.02275, allocations: 71.89 kB / 400.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008466/0.0236, allocations: 1.018 MB / 401.8 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.02496, allocations: 1.203 MB / 403 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.03762, allocations: 24.99 MB / 428 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.03807, allocations: 348.1 kB / 428.3 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.0382, allocations: 122.7 kB / 428.5 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.03821, allocations: 8 kB / 428.5 MB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.03824, allocations: 41.39 kB / 428.5 MB, free: 14.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.03825, allocations: 0 / 428.5 MB, free: 14.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.000623/0.03887, allocations: 0.4895 MB / 429 MB, free: 14.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.03892, allocations: 132.5 kB / 429.1 MB, free: 13.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.04058, allocations: 2.186 MB / 431.3 MB, free: 11.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.04061, allocations: 33.7 kB / 431.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009747/0.04158, allocations: 2.017 MB / 433.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.04179, allocations: 333.8 kB / 433.7 MB, free: 9.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.04279, allocations: 0.8877 MB / 434.6 MB, free: 8.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.04293, allocations: 0.5004 MB / 435.1 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.04323, allocations: 275.4 kB / 435.3 MB, free: 7.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.04567, allocations: 4.245 MB / 439.6 MB, free: 1.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003115/0.04878, allocations: 5.041 MB / 444.6 MB, free: 10.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-05/0.04882, allocations: 28 kB / 444.7 MB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003188/0.052, allocations: 3.076 MB / 447.7 MB, free: 7.523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.05205, allocations: 46.81 kB / 447.8 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.428e-05/0.05212, allocations: 96 kB / 447.9 MB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.23e-05/0.0522, allocations: 127.9 kB / 448 MB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.05347, allocations: 0.8538 MB / 448.9 MB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.817e-05/0.05357, allocations: 187.2 kB / 449 MB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.05481, allocations: 0.5312 MB / 449.6 MB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.05497, allocations: 220 kB / 449.8 MB, free: 5.473 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.0004688/0.05544, allocations: 492.3 kB / 450.3 MB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.0556, allocations: 186.8 kB / 450.4 MB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.05575, allocations: 163.9 kB / 450.6 MB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.05577, allocations: 23.92 kB / 450.6 MB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.05578, allocations: 4 kB / 450.6 MB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.05579, allocations: 0 / 450.6 MB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.05753, allocations: 1.273 MB / 451.9 MB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.05754, allocations: 7.938 kB / 451.9 MB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.05767, allocations: 47.92 kB / 452 MB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.05767, allocations: 4 kB / 452 MB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.05769, allocations: 11.98 kB / 452 MB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.05769, allocations: 7.984 kB / 452 MB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.0577, allocations: 8 kB / 452 MB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.05821, allocations: 0.9555 MB / 452.9 MB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.05835, allocations: 158.6 kB / 453.1 MB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.05842, allocations: 8 kB / 453.1 MB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.05864, allocations: 4 kB / 453.1 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.05868, allocations: 27.95 kB / 453.1 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.05871, allocations: 23.98 kB / 453.2 MB, free: 2.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000607/0.05932, allocations: 0.8307 MB / 454 MB, free: 1.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05932, allocations: 4 kB / 454 MB, free: 1.145 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001476/0.06079, allocations: 0.5496 MB / 454.5 MB, free: 0.5938 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.0002191/0.06101, allocations: 131 kB / 454.7 MB, free: 468 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1402/0.2012, allocations: 1.493 MB / 456.2 MB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2012, allocations: 0.875 kB / 456.2 MB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.2014, allocations: 143.2 kB / 456.3 MB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.2022, allocations: 157.7 kB / 456.5 MB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.2054, allocations: 3.224 MB / 459.7 MB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.2058, allocations: 0.5732 MB / 460.3 MB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006503/0.2065, allocations: 286.2 kB / 460.5 MB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.2067, allocations: 300.6 kB / 460.8 MB, free: 109.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/0.2067, allocations: 4 kB / 460.8 MB, free: 109.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01956/0.2263, allocations: 12.73 MB / 473.6 MB, free: 108.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4560482422821224]