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.001528/0.001528, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001549/0.001549, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 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.2302/0.2302, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3745, allocations: 65.47 MB / 0.5574 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006846/0.3813, allocations: 4.842 MB / 0.5622 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.3847, allocations: 1.698 MB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.385, allocations: 23.94 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.3862, allocations: 0.533 MB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.388, allocations: 0.9263 MB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.761e-05/0.3881, allocations: 11.98 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.39, allocations: 1.526 MB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00092/0.3909, allocations: 0.7446 MB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.3915, allocations: 0.5291 MB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.3936, allocations: 1.683 MB / 0.5697 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.3938, allocations: 88 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004948/0.3943, allocations: 227.6 kB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006877/0.395, allocations: 0.7242 MB / 0.5707 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.3956, allocations: 0.597 MB / 0.5713 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.3984, allocations: 2.803 MB / 0.574 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3984, allocations: 0 / 0.574 GB, free: 6.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3984, allocations: 0 / 0.574 GB, free: 6.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.3984, allocations: 3.938 kB / 0.574 GB, free: 6.453 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.002906/0.4014, allocations: 2.035 MB / 0.576 GB, free: 4.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4014, allocations: 8.031 kB / 0.576 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005036/0.4064, allocations: 1.516 MB / 0.5775 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.4082, allocations: 0.7926 MB / 0.5782 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.4083, allocations: 82.47 kB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/0.4085, allocations: 123.8 kB / 0.5784 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006624/0.4151, allocations: 4.976 MB / 0.5833 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.4152, allocations: 23.81 kB / 0.5833 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.4154, allocations: 59.91 kB / 0.5834 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001986/0.4174, allocations: 1.178 MB / 0.5845 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006545/0.4239, allocations: 4.258 MB / 0.5887 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.4454, allocations: 19.38 MB / 0.6076 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4468, allocations: 0.7352 MB / 0.6083 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.4472, allocations: 343.3 kB / 0.6087 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.4473, allocations: 4 kB / 0.6087 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.4473, allocations: 42.5 kB / 0.6087 GB, free: 1.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.076e-06/0.4473, allocations: 0 / 0.6087 GB, free: 1.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001738/0.449, allocations: 1.141 MB / 0.6098 GB, free: 436 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.4491, allocations: 136.5 kB / 0.6099 GB, free: 268 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.4521, allocations: 2.309 MB / 0.6122 GB, free: 13.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.4521, allocations: 33.7 kB / 0.6122 GB, free: 13.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.4536, allocations: 1.897 MB / 0.6141 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.4539, allocations: 317.9 kB / 0.6144 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009809/0.4549, allocations: 0.7978 MB / 0.6152 GB, free: 10.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4551, allocations: 326 kB / 0.6155 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.4566, allocations: 1.042 MB / 0.6165 GB, free: 9.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003799/0.4604, allocations: 3.687 MB / 0.6201 GB, free: 4.441 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/0.4665, allocations: 5.165 MB / 0.6251 GB, free: 13.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.364e-05/0.4666, allocations: 32 kB / 0.6252 GB, free: 13.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007203/0.4738, allocations: 4.423 MB / 0.6295 GB, free: 9.484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.962e-05/0.4739, allocations: 59.95 kB / 0.6296 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.474, allocations: 96 kB / 0.6296 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.4741, allocations: 124 kB / 0.6298 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.4765, allocations: 0.8692 MB / 0.6306 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001573/0.4767, allocations: 183.3 kB / 0.6308 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.4791, allocations: 0.5352 MB / 0.6313 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/0.4794, allocations: 248 kB / 0.6315 GB, free: 7.383 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.00163/0.481, allocations: 1.196 MB / 0.6327 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.4813, allocations: 186.7 kB / 0.6329 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.4816, allocations: 195.9 kB / 0.6331 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.56e-05/0.4817, allocations: 19.98 kB / 0.6331 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4817, allocations: 0 / 0.6331 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4817, allocations: 0 / 0.6331 GB, free: 5.777 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.4849, allocations: 1.648 MB / 0.6347 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4849, allocations: 4 kB / 0.6347 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.4852, allocations: 51.97 kB / 0.6348 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.4852, allocations: 4 kB / 0.6348 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.4852, allocations: 11.98 kB / 0.6348 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.4852, allocations: 11.92 kB / 0.6348 GB, free: 4.004 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4852, allocations: 4 kB / 0.6348 GB, free: 4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.4866, allocations: 1.18 MB / 0.6359 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.4869, allocations: 154.7 kB / 0.6361 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.4871, allocations: 8 kB / 0.6361 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.4875, allocations: 19.97 kB / 0.6361 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.4876, allocations: 23.91 kB / 0.6361 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.4876, allocations: 35.91 kB / 0.6362 GB, free: 2.559 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.4896, allocations: 1.288 MB / 0.6374 GB, free: 1.246 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4896, allocations: 0 / 0.6374 GB, free: 1.246 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002876/0.4925, allocations: 0.5495 MB / 0.638 GB, free: 0.6953 MB / 478.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.0002833/0.4928, allocations: 127.1 kB / 0.6381 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003562/0.4963, allocations: 2.272 MB / 0.6403 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4963, allocations: 0 / 0.6403 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.4968, allocations: 335.7 kB / 0.6406 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.4977, allocations: 135.7 kB / 0.6408 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006951/0.5047, allocations: 4.038 MB / 0.6447 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.5065, allocations: 1.295 MB / 0.646 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002623/0.5091, allocations: 1.211 MB / 0.6471 GB, free: 7.215 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.5093, allocations: 123.4 kB / 0.6473 GB, free: 7.094 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5093, allocations: 3.938 kB / 0.6473 GB, free: 7.09 MB / 494.1 MB Notification: Performance of Templates: time 0.02764/0.537, allocations: 13.57 MB / 0.6605 GB, free: 9.734 MB / 0.4981 GB " [Timeout remaining time 659] 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.905507722869515]