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.002041/0.002041, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002203/0.002203, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.592/1.592, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2483/0.2483, allocations: 46.93 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] 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.002113/0.002113, allocations: 63.91 kB / 0.4966 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3564, allocations: 66.03 MB / 0.5611 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007489/0.3639, allocations: 5.443 MB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.3677, allocations: 1.83 MB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004067/0.3681, allocations: 23.94 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3695, allocations: 0.5485 MB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.3715, allocations: 0.9224 MB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001035/0.3716, allocations: 15.98 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.3736, allocations: 1.53 MB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.3747, allocations: 0.7369 MB / 0.5719 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.3754, allocations: 0.5291 MB / 0.5724 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.3777, allocations: 1.707 MB / 0.5741 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.3779, allocations: 88 kB / 0.5742 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007376/0.3787, allocations: 331.5 kB / 0.5745 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006892/0.3793, allocations: 0.7164 MB / 0.5752 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008384/0.3802, allocations: 0.8728 MB / 0.576 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.3837, allocations: 2.811 MB / 0.5788 GB, free: 2.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.3837, allocations: 4 kB / 0.5788 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3837, allocations: 0 / 0.5788 GB, free: 2.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.3837, allocations: 0 / 0.5788 GB, free: 2.391 MB / 414.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.003289/0.387, allocations: 2.021 MB / 0.5808 GB, free: 336 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3871, allocations: 12.03 kB / 0.5808 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.392, allocations: 1.516 MB / 0.5822 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.3939, allocations: 0.7965 MB / 0.583 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.394, allocations: 94.41 kB / 0.5831 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.3942, allocations: 111.8 kB / 0.5832 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008114/0.4023, allocations: 4.972 MB / 0.5881 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.524e-05/0.4024, allocations: 23.75 kB / 0.5881 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.4026, allocations: 63.91 kB / 0.5882 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.4045, allocations: 1.181 MB / 0.5893 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007259/0.4118, allocations: 4.25 MB / 0.5935 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0256/0.4374, allocations: 20.48 MB / 0.6135 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4389, allocations: 0.7253 MB / 0.6142 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.4394, allocations: 347.3 kB / 0.6145 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.4394, allocations: 7.938 kB / 0.6145 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.4395, allocations: 42.5 kB / 0.6145 GB, free: 12.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 4.589e-06/0.4395, allocations: 0 / 0.6145 GB, free: 12.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002096/0.4416, allocations: 1.156 MB / 0.6157 GB, free: 11.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.4417, allocations: 136.5 kB / 0.6158 GB, free: 11.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004274/0.446, allocations: 2.433 MB / 0.6182 GB, free: 8.605 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.446, allocations: 37.69 kB / 0.6182 GB, free: 8.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.4479, allocations: 1.866 MB / 0.62 GB, free: 6.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.4484, allocations: 317.8 kB / 0.6203 GB, free: 6.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/0.4497, allocations: 0.794 MB / 0.6211 GB, free: 5.562 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.4499, allocations: 349.9 kB / 0.6215 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.4518, allocations: 1.034 MB / 0.6225 GB, free: 4.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/0.4562, allocations: 3.691 MB / 0.6261 GB, free: 15.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.463, allocations: 5.171 MB / 0.6311 GB, free: 8.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/0.4631, allocations: 28 kB / 0.6311 GB, free: 8.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008928/0.4721, allocations: 4.455 MB / 0.6355 GB, free: 4.172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.4722, allocations: 52.06 kB / 0.6355 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/0.4724, allocations: 92 kB / 0.6356 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.4725, allocations: 124 kB / 0.6357 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.4753, allocations: 0.8655 MB / 0.6366 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/0.4754, allocations: 187.2 kB / 0.6368 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.4782, allocations: 0.57 MB / 0.6373 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/0.4786, allocations: 256 kB / 0.6376 GB, free: 2.035 MB / 478.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.001866/0.4805, allocations: 1.188 MB / 0.6387 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/0.4809, allocations: 202.5 kB / 0.6389 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.4813, allocations: 217.8 kB / 0.6391 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/0.4814, allocations: 27.97 kB / 0.6392 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4814, allocations: 0 / 0.6392 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4814, allocations: 4 kB / 0.6392 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/0.4858, allocations: 2.043 MB / 0.6412 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4858, allocations: 0 / 0.6412 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.4861, allocations: 59.91 kB / 0.6412 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.4861, allocations: 4 kB / 0.6412 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.4862, allocations: 11.98 kB / 0.6412 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.4862, allocations: 4 kB / 0.6412 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4862, allocations: 0 / 0.6412 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.4877, allocations: 1.205 MB / 0.6424 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.4882, allocations: 186.5 kB / 0.6426 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.4884, allocations: 4 kB / 0.6426 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/0.489, allocations: 19.97 kB / 0.6426 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.4891, allocations: 27.91 kB / 0.6426 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.4891, allocations: 23.98 kB / 0.6427 GB, free: 12.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002341/0.4915, allocations: 1.486 MB / 0.6441 GB, free: 11.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4915, allocations: 3.938 kB / 0.6441 GB, free: 11.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00301/0.4945, allocations: 0.5264 MB / 0.6446 GB, free: 10.7 MB / 494.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.0003474/0.4948, allocations: 127.1 kB / 0.6448 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004209/0.499, allocations: 2.264 MB / 0.647 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.499, allocations: 0 / 0.647 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.4995, allocations: 338.3 kB / 0.6473 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5007, allocations: 179.1 kB / 0.6475 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/0.5082, allocations: 4.078 MB / 0.6514 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/0.5106, allocations: 1.862 MB / 0.6533 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002873/0.5135, allocations: 1.263 MB / 0.6545 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.5139, allocations: 127.4 kB / 0.6546 GB, free: 408 kB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5139, allocations: 0 / 0.6546 GB, free: 408 kB / 494.1 MB Notification: Performance of Templates: time 0.03816/0.552, allocations: 15.76 MB / 0.67 GB, free: 0.6445 MB / 0.4981 GB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/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: 6.30186950112693]