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.001233/0.001233, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001474/0.001474, allocations: 172.1 kB / 24.82 MB, free: 9.32 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 0.9724/0.9724, allocations: 177 MB / 205.1 MB, free: 5.48 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.2784/0.2784, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.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 1.593e-06/1.593e-06, allocations: 0 / 379.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.35e-05, allocations: 6.953 kB / 379.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005851/0.005874, allocations: 5.172 MB / 384.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.009889, allocations: 1.744 MB / 386.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.0105, allocations: 23.94 kB / 386.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.01209, allocations: 0.5562 MB / 386.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.01401, allocations: 0.9606 MB / 387.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.038e-05/0.0141, allocations: 19.92 kB / 387.7 MB, free: 9.355 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.01677, allocations: 2.594 MB / 390.3 MB, free: 6.758 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.01792, allocations: 1.101 MB / 391.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.01902, allocations: 0.8611 MB / 392.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.0202, allocations: 1.021 MB / 393.2 MB, free: 3.754 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.02044, allocations: 88 kB / 393.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.02089, allocations: 267.5 kB / 393.6 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.02134, allocations: 0.7476 MB / 394.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.02172, allocations: 426.3 kB / 394.8 MB, free: 2.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.02364, allocations: 1.777 MB / 396.5 MB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.02364, allocations: 4 kB / 396.5 MB, free: 460 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02364, allocations: 4 kB / 396.5 MB, free: 456 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.369e-05/0.02373, allocations: 0 / 396.5 MB, free: 456 kB / 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.00267/0.0264, allocations: 2.264 MB / 398.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.02644, allocations: 8.031 kB / 398.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.0287, allocations: 0.8695 MB / 399.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009592/0.02965, allocations: 0.7164 MB / 400.4 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.0297, allocations: 86.45 kB / 400.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.02984, allocations: 112.3 kB / 400.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.03274, allocations: 2.856 MB / 403.5 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.03277, allocations: 23.81 kB / 403.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.03288, allocations: 59.91 kB / 403.5 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000939/0.03382, allocations: 1.029 MB / 404.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.0357, allocations: 1.199 MB / 405.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.05024, allocations: 24.99 MB / 430.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.05073, allocations: 348.7 kB / 431.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.05084, allocations: 110.7 kB / 431.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.05086, allocations: 4 kB / 431.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.05089, allocations: 45.33 kB / 431.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.276e-06/0.05089, allocations: 0 / 431.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0009527/0.05184, allocations: 0.4922 MB / 431.7 MB, free: 11.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.0519, allocations: 140.4 kB / 431.9 MB, free: 11.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.05358, allocations: 2.178 MB / 434.1 MB, free: 9.113 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.05361, allocations: 33.69 kB / 434.1 MB, free: 9.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009852/0.05459, allocations: 2.021 MB / 436.1 MB, free: 7.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.05482, allocations: 337.7 kB / 436.4 MB, free: 6.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006962/0.05552, allocations: 0.8877 MB / 437.3 MB, free: 5.801 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.05565, allocations: 0.4964 MB / 437.8 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.05597, allocations: 275.4 kB / 438.1 MB, free: 5.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.05887, allocations: 4.238 MB / 442.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004363/0.06323, allocations: 5.057 MB / 447.4 MB, free: 8.082 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-05/0.06332, allocations: 28 kB / 447.4 MB, free: 8.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004591/0.06791, allocations: 3.061 MB / 450.5 MB, free: 4.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.06797, allocations: 48 kB / 450.5 MB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/0.06805, allocations: 96 kB / 450.6 MB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.06815, allocations: 123.9 kB / 450.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.06964, allocations: 0.8655 MB / 451.6 MB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001054/0.06975, allocations: 183.3 kB / 451.8 MB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.0716, allocations: 0.5234 MB / 452.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.07182, allocations: 228 kB / 452.5 MB, free: 2.926 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.0007239/0.07255, allocations: 496.4 kB / 453 MB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.07275, allocations: 186.8 kB / 453.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.07292, allocations: 155.9 kB / 453.3 MB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-05/0.07297, allocations: 19.94 kB / 453.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.07298, allocations: 0 / 453.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.07299, allocations: 3.984 kB / 453.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.07493, allocations: 1.284 MB / 454.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.07493, allocations: 3.938 kB / 454.7 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.07508, allocations: 51.91 kB / 454.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.07508, allocations: 4 kB / 454.7 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.0751, allocations: 12 kB / 454.7 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.07511, allocations: 8 kB / 454.7 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.07511, allocations: 0 / 454.7 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1698/0.2449, allocations: 0.9481 MB / 455.7 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.2452, allocations: 158.5 kB / 455.8 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2453, allocations: 7.047 kB / 455.8 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.2457, allocations: 6.719 kB / 455.9 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.2457, allocations: 30.78 kB / 455.9 MB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.2458, allocations: 18.62 kB / 455.9 MB, free: 106.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009693/0.2467, allocations: 0.8411 MB / 456.7 MB, free: 106.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2467, allocations: 0 / 456.7 MB, free: 106.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00248/0.2492, allocations: 0.5517 MB / 457.3 MB, free: 106.3 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.0002544/0.2495, allocations: 128.9 kB / 457.4 MB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.2518, allocations: 1.504 MB / 458.9 MB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2518, allocations: 0 / 458.9 MB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.252, allocations: 135.7 kB / 459.1 MB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.253, allocations: 149.8 kB / 459.2 MB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.2571, allocations: 3.225 MB / 462.4 MB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.2577, allocations: 0.5746 MB / 463 MB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.2587, allocations: 285.3 kB / 463.3 MB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.2591, allocations: 304.4 kB / 463.6 MB, free: 104.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2591, allocations: 4 kB / 463.6 MB, free: 104.6 MB / 426.7 MB Notification: Performance of Templates: time 0.02496/0.284, allocations: 12.72 MB / 476.3 MB, free: 103.4 MB / 426.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.5345541490241885]