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.001485/0.001485, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001639/0.001639, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3466/0.3466, allocations: 32.8 MB / 293.9 MB, free: 1.191 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.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.488e-06/4.488e-06, allocations: 4 kB / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/3.19e-05, allocations: 2.312 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007995/0.008027, allocations: 4.866 MB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.01211, allocations: 1.705 MB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006761/0.01278, allocations: 19.94 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.01441, allocations: 0.5485 MB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.01747, allocations: 0.9528 MB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.01767, allocations: 23.86 kB / 383.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003749/0.02142, allocations: 2.598 MB / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.02343, allocations: 1.094 MB / 387 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.02521, allocations: 0.8611 MB / 387.9 MB, free: 8.254 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.02709, allocations: 1.017 MB / 388.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.02746, allocations: 91.94 kB / 389 MB, free: 7.145 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008042/0.02827, allocations: 271.6 kB / 389.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.02931, allocations: 0.7359 MB / 390 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.03042, allocations: 430.2 kB / 390.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.03468, allocations: 2.709 MB / 393.1 MB, free: 3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.03469, allocations: 0 / 393.1 MB, free: 3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.03469, allocations: 0 / 393.1 MB, free: 3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001125/0.0348, allocations: 0 / 393.1 MB, free: 3 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.005298/0.0401, allocations: 1.998 MB / 395.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.04015, allocations: 12.03 kB / 395.2 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005962/0.04611, allocations: 1.813 MB / 397 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.04802, allocations: 0.8075 MB / 397.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/0.04811, allocations: 98.39 kB / 397.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.04845, allocations: 108.3 kB / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008694/0.05714, allocations: 4.972 MB / 402.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/0.05721, allocations: 23.75 kB / 403 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.05747, allocations: 63.89 kB / 403 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002151/0.05962, allocations: 1.181 MB / 404.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008196/0.06781, allocations: 4.25 MB / 408.5 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02744/0.09525, allocations: 19.43 MB / 427.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.09678, allocations: 0.7253 MB / 428.6 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.09736, allocations: 347.5 kB / 429 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.0974, allocations: 8 kB / 429 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.09744, allocations: 38.56 kB / 429 MB, free: 13.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 4.258e-06/0.09744, allocations: 0 / 429 MB, free: 13.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.002299/0.09974, allocations: 1.154 MB / 430.2 MB, free: 12.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.09985, allocations: 132.5 kB / 430.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.1038, allocations: 2.313 MB / 432.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.1039, allocations: 29.7 kB / 432.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.1057, allocations: 1.878 MB / 434.5 MB, free: 8.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.1061, allocations: 305.9 kB / 434.8 MB, free: 7.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.1073, allocations: 0.7861 MB / 435.6 MB, free: 7.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1075, allocations: 322 kB / 435.9 MB, free: 6.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.1094, allocations: 1.038 MB / 436.9 MB, free: 5.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004643/0.1141, allocations: 3.691 MB / 440.6 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007931/0.122, allocations: 5.16 MB / 445.8 MB, free: 10.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001643/0.1222, allocations: 28 kB / 445.8 MB, free: 10.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01074/0.1329, allocations: 4.652 MB / 450.5 MB, free: 5.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.133, allocations: 44 kB / 450.5 MB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/0.1333, allocations: 96 kB / 450.6 MB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.1335, allocations: 127.9 kB / 450.7 MB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.1364, allocations: 0.8733 MB / 451.6 MB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002397/0.1367, allocations: 187.2 kB / 451.8 MB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.1409, allocations: 0.539 MB / 452.3 MB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007408/0.1416, allocations: 252 kB / 452.6 MB, free: 3.414 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.002285/0.1439, allocations: 1.189 MB / 453.8 MB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.1443, allocations: 182.8 kB / 453.9 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.1448, allocations: 199.9 kB / 454.1 MB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-05/0.1449, allocations: 23.92 kB / 454.2 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1449, allocations: 3.938 kB / 454.2 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1449, allocations: 4 kB / 454.2 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.1491, allocations: 1.669 MB / 455.8 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.1492, allocations: 4 kB / 455.8 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.1495, allocations: 59.91 kB / 455.9 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.1495, allocations: 4 kB / 455.9 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.1496, allocations: 15.98 kB / 455.9 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.1496, allocations: 4 kB / 455.9 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1496, allocations: 0 / 455.9 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1819/0.3315, allocations: 1.188 MB / 457.1 MB, free: 114 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.3318, allocations: 155.1 kB / 457.3 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.3319, allocations: 7.531 kB / 457.3 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.3324, allocations: 23.34 kB / 457.3 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.3325, allocations: 22.27 kB / 457.3 MB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.3326, allocations: 24.23 kB / 457.3 MB, free: 113.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001517/0.3341, allocations: 1.287 MB / 458.6 MB, free: 113.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3341, allocations: 0 / 458.6 MB, free: 113.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002609/0.3367, allocations: 0.5567 MB / 459.2 MB, free: 113.6 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.0002924/0.337, allocations: 130 kB / 459.3 MB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.3397, allocations: 2.266 MB / 461.6 MB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3397, allocations: 0 / 461.6 MB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.34, allocations: 336.9 kB / 461.9 MB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.341, allocations: 150.5 kB / 462.1 MB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.346, allocations: 4.079 MB / 466.1 MB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.3472, allocations: 1.279 MB / 467.4 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002134/0.3494, allocations: 1.221 MB / 468.6 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3496, allocations: 119.9 kB / 468.8 MB, free: 110.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.315e-06/0.3496, allocations: 4 kB / 468.8 MB, free: 110.4 MB / 426.7 MB Notification: Performance of Templates: time 0.02058/0.3702, allocations: 11.78 MB / 480.5 MB, free: 109.3 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.516039267065935]