Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009418/0.0009418, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177 MB / 205.9 MB, free: 4.414 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1618/0.1618, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.678e-05, allocations: 2.312 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006961/0.006997, allocations: 5.161 MB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.01059, allocations: 1.744 MB / 386.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007267/0.01131, allocations: 19.94 kB / 386.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.01262, allocations: 0.5562 MB / 387.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.01482, allocations: 0.9606 MB / 388.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.01493, allocations: 19.92 kB / 388.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.01767, allocations: 2.607 MB / 391 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.01918, allocations: 1.097 MB / 392.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.02055, allocations: 0.869 MB / 393 MB, free: 9.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.02199, allocations: 1.021 MB / 394 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.0223, allocations: 92 kB / 394.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.02285, allocations: 263.6 kB / 394.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005444/0.0234, allocations: 0.7399 MB / 395.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.024, allocations: 438.1 kB / 395.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.02594, allocations: 1.77 MB / 397.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.02594, allocations: 0 / 397.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02594, allocations: 0 / 397.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.208e-05/0.02602, allocations: 0 / 397.3 MB, free: 5.367 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.003024/0.02904, allocations: 2.271 MB / 399.6 MB, free: 3.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.02908, allocations: 12.03 kB / 399.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.03217, allocations: 0.8539 MB / 400.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.03348, allocations: 0.7242 MB / 401.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.03355, allocations: 82.47 kB / 401.3 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.03375, allocations: 112.2 kB / 401.4 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004228/0.03798, allocations: 2.864 MB / 404.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.03803, allocations: 19.81 kB / 404.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.03821, allocations: 59.91 kB / 404.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.03971, allocations: 1.026 MB / 405.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.04311, allocations: 1.199 MB / 406.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/0.06447, allocations: 24.99 MB / 431.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/0.0652, allocations: 348.9 kB / 431.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.06538, allocations: 108.6 kB / 432 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.0654, allocations: 8 kB / 432 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.06544, allocations: 45.33 kB / 432 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 4.098e-06/0.06545, allocations: 4 kB / 432 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.001004/0.06645, allocations: 0.4921 MB / 432.5 MB, free: 444 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.06652, allocations: 140.5 kB / 432.7 MB, free: 272 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.07002, allocations: 2.182 MB / 434.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.07006, allocations: 33.69 kB / 434.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.07157, allocations: 2.017 MB / 436.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.07193, allocations: 329.8 kB / 437.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.07301, allocations: 0.8839 MB / 438.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.07317, allocations: 0.4965 MB / 438.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.07373, allocations: 275.4 kB / 438.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.07674, allocations: 4.238 MB / 443.1 MB, free: 3.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005172/0.08191, allocations: 5.062 MB / 448.2 MB, free: 13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.08204, allocations: 24 kB / 448.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006377/0.08842, allocations: 3.076 MB / 451.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.08849, allocations: 44 kB / 451.3 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.08862, allocations: 96 kB / 451.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.08874, allocations: 128.7 kB / 451.5 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.09116, allocations: 0.8655 MB / 452.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/0.09134, allocations: 183.3 kB / 452.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.0944, allocations: 0.5273 MB / 453.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/0.09484, allocations: 220 kB / 453.3 MB, free: 7.844 MB / 378.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.0009881/0.09583, allocations: 496.3 kB / 453.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.09614, allocations: 182.8 kB / 454 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.09636, allocations: 159.9 kB / 454.1 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/0.09641, allocations: 19.92 kB / 454.1 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.09642, allocations: 4 kB / 454.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.09643, allocations: 4 kB / 454.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.09909, allocations: 1.277 MB / 455.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.09909, allocations: 7.938 kB / 455.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.09931, allocations: 47.92 kB / 455.5 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.09932, allocations: 4 kB / 455.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.09935, allocations: 8 kB / 455.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.09936, allocations: 11.92 kB / 455.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.09936, allocations: 0 / 455.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.1003, allocations: 0.9525 MB / 456.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.1006, allocations: 162.6 kB / 456.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.1007, allocations: 11.98 kB / 456.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.1012, allocations: 12 kB / 456.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.1013, allocations: 27.89 kB / 456.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.1013, allocations: 16 kB / 456.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00115/0.1024, allocations: 0.8346 MB / 457.5 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1024, allocations: 0 / 457.5 MB, free: 3.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003218/0.1057, allocations: 0.5496 MB / 458.1 MB, free: 2.973 MB / 378.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.0003086/0.106, allocations: 131.1 kB / 458.2 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.1088, allocations: 1.492 MB / 459.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1088, allocations: 0 / 459.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.109, allocations: 148.8 kB / 459.8 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.1097, allocations: 157.5 kB / 460 MB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.114, allocations: 3.229 MB / 463.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.1146, allocations: 0.5785 MB / 463.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006768/0.1153, allocations: 281.7 kB / 464.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.1156, allocations: 306.2 kB / 464.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of SimCode: time 2.004e-06/0.1156, allocations: 0 / 464.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of Templates: time 0.0222/0.1378, allocations: 12.96 MB / 477.3 MB, free: 15.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.816881868056953]