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.001401/0.001401, allocations: 116 kB / 18.45 MB, free: 4.562 MB / 14.72 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.001443/0.001443, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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.494/1.494, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2245/0.2245, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 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.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 71.89 kB / 0.492 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1448, allocations: 65.99 MB / 0.5565 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008178/0.153, allocations: 5.428 MB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004419/0.1574, allocations: 1.811 MB / 0.5636 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008574/0.1583, allocations: 23.94 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.1597, allocations: 0.5484 MB / 0.5641 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.162, allocations: 0.9185 MB / 0.565 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.1621, allocations: 19.97 kB / 0.565 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.1644, allocations: 1.518 MB / 0.5665 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009881/0.1654, allocations: 0.676 MB / 0.5672 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009112/0.1663, allocations: 0.5331 MB / 0.5677 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.1685, allocations: 1.703 MB / 0.5694 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003105/0.1688, allocations: 88 kB / 0.5694 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.1695, allocations: 327.5 kB / 0.5698 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006807/0.1702, allocations: 0.7164 MB / 0.5705 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008517/0.171, allocations: 0.869 MB / 0.5713 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.1746, allocations: 2.808 MB / 0.574 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1747, allocations: 0 / 0.574 GB, free: 3.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1747, allocations: 0 / 0.574 GB, free: 3.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.718e-05/0.1747, allocations: 3.938 kB / 0.574 GB, free: 3.273 MB / 430.1 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.003657/0.1784, allocations: 2.105 MB / 0.5761 GB, free: 1.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1784, allocations: 12.03 kB / 0.5761 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.1837, allocations: 1.509 MB / 0.5776 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.1853, allocations: 0.8569 MB / 0.5784 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/0.1854, allocations: 86.47 kB / 0.5785 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.1856, allocations: 107.8 kB / 0.5786 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006593/0.1922, allocations: 4.976 MB / 0.5835 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.1923, allocations: 23.75 kB / 0.5835 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.1925, allocations: 63.91 kB / 0.5836 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/0.1945, allocations: 1.182 MB / 0.5847 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007157/0.2016, allocations: 4.254 MB / 0.5889 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3328/0.5345, allocations: 20.55 MB / 0.6089 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.5359, allocations: 1.178 MB / 0.6101 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.5365, allocations: 357 kB / 0.6104 GB, free: 16.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.5365, allocations: 3.219 kB / 0.6104 GB, free: 16.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.5365, allocations: 39.06 kB / 0.6105 GB, free: 16.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 4.319e-06/0.5365, allocations: 0 / 0.6105 GB, free: 16.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002226/0.5387, allocations: 1.163 MB / 0.6116 GB, free: 16.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.5388, allocations: 138 kB / 0.6117 GB, free: 16.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.5425, allocations: 2.436 MB / 0.6141 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.5425, allocations: 32.23 kB / 0.6141 GB, free: 15.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.5438, allocations: 1.877 MB / 0.616 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.5441, allocations: 311.5 kB / 0.6163 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009392/0.545, allocations: 0.7982 MB / 0.617 GB, free: 13.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5452, allocations: 353.2 kB / 0.6174 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.5467, allocations: 1.03 MB / 0.6184 GB, free: 12.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.5494, allocations: 3.691 MB / 0.622 GB, free: 8.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004941/0.5543, allocations: 5.157 MB / 0.627 GB, free: 3.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.582e-05/0.5544, allocations: 31.31 kB / 0.6271 GB, free: 3.812 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007516/0.5619, allocations: 4.464 MB / 0.6314 GB, free: 2.086 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.562, allocations: 44.06 kB / 0.6315 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.5621, allocations: 95.19 kB / 0.6315 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.5622, allocations: 124.1 kB / 0.6317 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.5644, allocations: 0.8656 MB / 0.6325 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001447/0.5646, allocations: 192.3 kB / 0.6327 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.5671, allocations: 0.5634 MB / 0.6332 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.5674, allocations: 262.1 kB / 0.6335 GB, free: 1.531 MB / 446.1 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.001427/0.5688, allocations: 1.192 MB / 0.6347 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.5691, allocations: 193.4 kB / 0.6348 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.5694, allocations: 215.6 kB / 0.635 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/0.5694, allocations: 22.56 kB / 0.6351 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.5694, allocations: 5.375 kB / 0.6351 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5694, allocations: 5.469 kB / 0.6351 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.5724, allocations: 2.069 MB / 0.6371 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5724, allocations: 0.75 kB / 0.6371 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5727, allocations: 65.05 kB / 0.6372 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5727, allocations: 3.625 kB / 0.6372 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.5727, allocations: 7.688 kB / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.5727, allocations: 3.625 kB / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5727, allocations: 0.875 kB / 0.6372 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5738, allocations: 1.209 MB / 0.6384 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.5742, allocations: 260.8 kB / 0.6386 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.5743, allocations: 7.625 kB / 0.6386 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.5748, allocations: 18.73 kB / 0.6386 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.5748, allocations: 18.7 kB / 0.6387 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.5749, allocations: 22.34 kB / 0.6387 GB, free: 14.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.5766, allocations: 1.492 MB / 0.6401 GB, free: 14.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5766, allocations: 4 kB / 0.6401 GB, free: 14.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002636/0.5792, allocations: 0.5296 MB / 0.6407 GB, free: 14 MB / 462.1 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.0002901/0.5795, allocations: 130.9 kB / 0.6408 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003697/0.5832, allocations: 2.266 MB / 0.643 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5832, allocations: 0 / 0.643 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.5837, allocations: 338.1 kB / 0.6433 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5847, allocations: 169.9 kB / 0.6435 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/0.5912, allocations: 4.305 MB / 0.6477 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.5931, allocations: 1.874 MB / 0.6495 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.5935, allocations: 159.4 kB / 0.6497 GB, free: 4.715 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5935, allocations: 0 / 0.6497 GB, free: 4.715 MB / 462.1 MB Notification: Performance of Templates: time 0.04761/0.6411, allocations: 28.07 MB / 0.6771 GB, free: 8.715 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.303608096000971]