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.0008924/0.0008924, 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.0008807/0.0008807, allocations: 170.3 kB / 24.91 MB, free: 8.762 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2464/0.2464, allocations: 34.26 MB / 296.1 MB, free: 0.6836 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.823e-06/1.823e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.47e-05, allocations: 7.188 kB / 325.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00654/0.006565, allocations: 5.212 MB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.009983, allocations: 1.8 MB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.01032, allocations: 23.94 kB / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.0116, allocations: 0.5523 MB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.01338, allocations: 0.9529 MB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.072e-05/0.01347, allocations: 19.92 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.01606, allocations: 2.606 MB / 336.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.01707, allocations: 0.981 MB / 337.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009627/0.01803, allocations: 0.8571 MB / 338.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.01914, allocations: 0.9274 MB / 339.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.01928, allocations: 88 kB / 339.3 MB, free: 9.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.01975, allocations: 267.5 kB / 339.5 MB, free: 9.359 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004063/0.02015, allocations: 0.7438 MB / 340.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.02042, allocations: 430.5 kB / 340.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.02158, allocations: 1.77 MB / 342.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.02159, allocations: 3.938 kB / 342.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02159, allocations: 4 kB / 342.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.0216, allocations: 3.984 kB / 342.5 MB, free: 6.402 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.001546/0.02315, allocations: 1.9 MB / 344.4 MB, free: 4.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.02319, allocations: 8.031 kB / 344.4 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.02491, allocations: 0.664 MB / 345.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.02557, allocations: 0.6357 MB / 345.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.02562, allocations: 82.47 kB / 345.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.02576, allocations: 112.3 kB / 345.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.02778, allocations: 2.477 MB / 348.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.02782, allocations: 19.81 kB / 348.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.02792, allocations: 63.83 kB / 348.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009002/0.02882, allocations: 1.025 MB / 349.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.03017, allocations: 1.215 MB / 350.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009359/0.03953, allocations: 17.46 MB / 368.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.03993, allocations: 380.2 kB / 368.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.04003, allocations: 91.44 kB / 368.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.04004, allocations: 8 kB / 368.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.04007, allocations: 42.56 kB / 368.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 1.954e-06/0.04007, allocations: 4 kB / 368.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0004722/0.04054, allocations: 349.9 kB / 369 MB, free: 10.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.04059, allocations: 136.5 kB / 369.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.04163, allocations: 1.696 MB / 370.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.04166, allocations: 29.7 kB / 370.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/0.04239, allocations: 1.839 MB / 372.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.04255, allocations: 313.7 kB / 373 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005783/0.04313, allocations: 0.739 MB / 373.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.04322, allocations: 329.9 kB / 374.1 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.04363, allocations: 397.1 kB / 374.4 MB, free: 4.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.0451, allocations: 2.949 MB / 377.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.04748, allocations: 3.792 MB / 381.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-05/0.04751, allocations: 28 kB / 381.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002396/0.0499, allocations: 2.618 MB / 383.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.04995, allocations: 48 kB / 383.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.159e-05/0.05001, allocations: 92 kB / 384 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.938e-05/0.05009, allocations: 124.8 kB / 384.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.05144, allocations: 0.8967 MB / 385 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.787e-05/0.05154, allocations: 187.3 kB / 385.2 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.05268, allocations: 0.5273 MB / 385.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.05286, allocations: 224 kB / 385.9 MB, free: 6.809 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.0004261/0.05329, allocations: 440.4 kB / 386.3 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.05342, allocations: 95.88 kB / 386.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.05357, allocations: 159.9 kB / 386.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.0536, allocations: 19.98 kB / 386.6 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.0536, allocations: 7.938 kB / 386.6 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.05361, allocations: 4.047 kB / 386.6 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.05501, allocations: 1.215 MB / 387.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.05501, allocations: 0 / 387.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.05515, allocations: 55.86 kB / 387.9 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.05516, allocations: 4 kB / 387.9 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.05518, allocations: 11.97 kB / 387.9 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.05518, allocations: 4 kB / 387.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.05518, allocations: 0 / 387.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.05563, allocations: 0.7613 MB / 388.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.05574, allocations: 162.6 kB / 388.8 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.05581, allocations: 12 kB / 388.8 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.05602, allocations: 11.94 kB / 388.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.05606, allocations: 23.95 kB / 388.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.05609, allocations: 20 kB / 388.9 MB, free: 3.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004762/0.05656, allocations: 0.6262 MB / 389.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.05656, allocations: 0 / 389.5 MB, free: 3.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001336/0.0579, allocations: 0.5496 MB / 390.1 MB, free: 2.547 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.0001905/0.05809, allocations: 104.3 kB / 390.2 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.05925, allocations: 1.442 MB / 391.6 MB, free: 1.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.854e-05/0.05934, allocations: 56.19 kB / 391.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.05945, allocations: 110 kB / 391.8 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.05999, allocations: 149.4 kB / 391.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.06299, allocations: 3.314 MB / 395.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.06343, allocations: 0.5748 MB / 395.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.06397, allocations: 286.3 kB / 396.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.06423, allocations: 283.3 kB / 396.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.06423, allocations: 0 / 396.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of Templates: time 0.01793/0.08216, allocations: 12.7 MB / 409.1 MB, free: 15.54 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 -s gbode -gbm=radauIIA3 -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.205457446165383]