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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 241.8 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 56.2 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.145, allocations: 60.82 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01101/0.156, allocations: 8.916 MB / 477.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004921/0.161, allocations: 2.325 MB / 479.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008016/0.1618, allocations: 31.94 kB / 479.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.163, allocations: 0.4906 MB / 480.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.1647, allocations: 0.8605 MB / 481.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.1648, allocations: 19.98 kB / 481.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.1684, allocations: 3.239 MB / 484.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.1695, allocations: 0.7544 MB / 485.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.1701, allocations: 438 kB / 485.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.171, allocations: 0.7784 MB / 486.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.1712, allocations: 71.94 kB / 486.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.1718, allocations: 299.5 kB / 486.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00061/0.1724, allocations: 0.7088 MB / 487.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000741/0.1731, allocations: 0.8728 MB / 488.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.1754, allocations: 2.655 MB / 490.9 MB, free: 8.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1755, allocations: 3.984 kB / 490.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1755, allocations: 0 / 490.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.1755, allocations: 0 / 490.9 MB, free: 8.324 MB / 366.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.002756/0.1783, allocations: 2.066 MB / 493 MB, free: 6.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1783, allocations: 12.03 kB / 493 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/0.183, allocations: 1.495 MB / 494.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.1843, allocations: 0.8642 MB / 495.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/0.1844, allocations: 86.47 kB / 495.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.1846, allocations: 107.8 kB / 495.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/0.1909, allocations: 4.98 MB / 0.4888 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.191, allocations: 19.81 kB / 0.4888 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.1911, allocations: 59.91 kB / 0.4889 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.1929, allocations: 1.185 MB / 0.4901 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008325/0.2012, allocations: 4.254 MB / 0.4942 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2827/0.484, allocations: 20.59 MB / 0.5143 GB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4855, allocations: 1.172 MB / 0.5155 GB, free: 31.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.486, allocations: 343.2 kB / 0.5158 GB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.4861, allocations: 8.047 kB / 0.5158 GB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4861, allocations: 38.97 kB / 0.5158 GB, free: 31.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 5.22e-06/0.4861, allocations: 0 / 0.5158 GB, free: 31.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001831/0.4879, allocations: 1.049 MB / 0.5169 GB, free: 31.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.488, allocations: 112.6 kB / 0.517 GB, free: 31.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.4915, allocations: 2.475 MB / 0.5194 GB, free: 30.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.4915, allocations: 34.36 kB / 0.5194 GB, free: 30.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.4927, allocations: 1.822 MB / 0.5212 GB, free: 28.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.4929, allocations: 273 kB / 0.5215 GB, free: 28.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.4941, allocations: 0.7945 MB / 0.5222 GB, free: 28.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4943, allocations: 360.3 kB / 0.5226 GB, free: 27.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.4962, allocations: 1.021 MB / 0.5236 GB, free: 27.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/0.4994, allocations: 3.73 MB / 0.5272 GB, free: 23.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005623/0.505, allocations: 5.18 MB / 0.5323 GB, free: 18.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.5052, allocations: 29.5 kB / 0.5323 GB, free: 18.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006835/0.512, allocations: 4.46 MB / 0.5367 GB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.5121, allocations: 46.09 kB / 0.5367 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-05/0.5122, allocations: 97.03 kB / 0.5368 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.5123, allocations: 130 kB / 0.5369 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.5142, allocations: 0.8889 MB / 0.5378 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001071/0.5143, allocations: 193.8 kB / 0.538 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.5168, allocations: 0.551 MB / 0.5385 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.5171, allocations: 258.5 kB / 0.5388 GB, free: 16.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (484): * Single equations (assignments): 481 * Array equations: 3 * 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.001495/0.5186, allocations: 1.196 MB / 0.5399 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.5188, allocations: 186 kB / 0.5401 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.5191, allocations: 224.2 kB / 0.5403 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.5191, allocations: 8.906 kB / 0.5403 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.5191, allocations: 0 / 0.5403 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5191, allocations: 5.562 kB / 0.5403 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.5221, allocations: 2.041 MB / 0.5423 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5221, allocations: 2.875 kB / 0.5423 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.5223, allocations: 63.89 kB / 0.5424 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.5223, allocations: 8 kB / 0.5424 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.5224, allocations: 8 kB / 0.5424 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5224, allocations: 3.938 kB / 0.5424 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5224, allocations: 4 kB / 0.5424 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.5232, allocations: 1.046 MB / 0.5434 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.5235, allocations: 250.5 kB / 0.5437 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.5236, allocations: 8 kB / 0.5437 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.5241, allocations: 20.53 kB / 0.5437 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.5241, allocations: 24.19 kB / 0.5437 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.5242, allocations: 19.98 kB / 0.5437 GB, free: 12.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.5256, allocations: 1.518 MB / 0.5452 GB, free: 11.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.5256, allocations: 3.938 kB / 0.5452 GB, free: 11.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002594/0.5282, allocations: 0.5371 MB / 0.5457 GB, free: 10.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0002789/0.5285, allocations: 130.9 kB / 0.5459 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002733/0.5313, allocations: 2.312 MB / 0.5481 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5313, allocations: 0 / 0.5481 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.5316, allocations: 336.3 kB / 0.5485 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.5326, allocations: 166.4 kB / 0.5486 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.5378, allocations: 4.883 MB / 0.5534 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.5391, allocations: 1.858 MB / 0.5552 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002486/0.5416, allocations: 1.267 MB / 0.5564 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.5418, allocations: 135.4 kB / 0.5566 GB, free: 15.41 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5419, allocations: 0 / 0.5566 GB, free: 15.41 MB / 398.1 MB Notification: Performance of Templates: time 0.02569/0.5676, allocations: 12.86 MB / 0.5691 GB, free: 2.645 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (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) 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) Reference file matches