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.00119/0.00119, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.00125/0.00125, allocations: 183.9 kB / 18.71 MB, free: 4.348 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.533/1.533, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2287/0.2287, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3783, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005887/0.3843, allocations: 5.418 MB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.3877, allocations: 1.749 MB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/0.3881, allocations: 23.34 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3894, allocations: 0.5312 MB / 0.5264 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.3914, allocations: 0.9216 MB / 0.5273 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.3916, allocations: 20.09 kB / 0.5273 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.3936, allocations: 1.545 MB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.3945, allocations: 0.7544 MB / 0.5296 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.3952, allocations: 0.5206 MB / 0.5301 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.3969, allocations: 1.503 MB / 0.5316 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.3972, allocations: 89 kB / 0.5316 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006012/0.3978, allocations: 312.6 kB / 0.5319 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006806/0.3985, allocations: 0.7185 MB / 0.5326 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008148/0.3993, allocations: 0.8858 MB / 0.5335 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.4022, allocations: 2.827 MB / 0.5363 GB, free: 8.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4022, allocations: 3.984 kB / 0.5363 GB, free: 8.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4022, allocations: 0 / 0.5363 GB, free: 8.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.046e-05/0.4023, allocations: 1.094 kB / 0.5363 GB, free: 8.402 MB / 398.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.003574/0.4059, allocations: 2.065 MB / 0.5383 GB, free: 6.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4059, allocations: 12.38 kB / 0.5383 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.4111, allocations: 1.498 MB / 0.5398 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.4128, allocations: 0.8621 MB / 0.5406 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.018e-05/0.4129, allocations: 81.38 kB / 0.5407 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/0.4132, allocations: 118.1 kB / 0.5408 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006325/0.4195, allocations: 4.981 MB / 0.5457 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.4196, allocations: 23.75 kB / 0.5457 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.4198, allocations: 63.91 kB / 0.5457 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001883/0.4217, allocations: 1.178 MB / 0.5469 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006381/0.4281, allocations: 4.258 MB / 0.551 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/0.4516, allocations: 20.5 MB / 0.5711 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.4531, allocations: 1.232 MB / 0.5723 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.4536, allocations: 375.3 kB / 0.5726 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4536, allocations: 15.92 kB / 0.5726 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.4537, allocations: 42.5 kB / 0.5727 GB, free: 3.434 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 2.915e-06/0.4537, allocations: 0 / 0.5727 GB, free: 3.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.001732/0.4554, allocations: 1.147 MB / 0.5738 GB, free: 2.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.4555, allocations: 144.4 kB / 0.5739 GB, free: 2.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.4586, allocations: 2.429 MB / 0.5763 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.4587, allocations: 33.73 kB / 0.5763 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.4598, allocations: 1.798 MB / 0.5781 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.4601, allocations: 300.6 kB / 0.5784 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009144/0.461, allocations: 0.7893 MB / 0.5792 GB, free: 12.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4612, allocations: 353.9 kB / 0.5795 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.4626, allocations: 1.03 MB / 0.5805 GB, free: 11.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.4659, allocations: 3.691 MB / 0.5841 GB, free: 6.277 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/0.4711, allocations: 5.155 MB / 0.5891 GB, free: 15.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/0.4712, allocations: 28.47 kB / 0.5892 GB, free: 15.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007066/0.4783, allocations: 4.456 MB / 0.5935 GB, free: 11.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.4784, allocations: 44 kB / 0.5936 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-05/0.4784, allocations: 96 kB / 0.5937 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.4786, allocations: 124 kB / 0.5938 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/0.4808, allocations: 0.8694 MB / 0.5946 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001305/0.4809, allocations: 187.2 kB / 0.5948 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.4834, allocations: 0.5487 MB / 0.5953 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/0.4837, allocations: 256 kB / 0.5956 GB, free: 9.184 MB / 462.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.001627/0.4853, allocations: 1.192 MB / 0.5967 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.4856, allocations: 185.5 kB / 0.5969 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.4859, allocations: 217.8 kB / 0.5971 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/0.486, allocations: 20 kB / 0.5971 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.486, allocations: 0 / 0.5971 GB, free: 7.562 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.486, allocations: 7.984 kB / 0.5972 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.4893, allocations: 2.068 MB / 0.5992 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4893, allocations: 4 kB / 0.5992 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.4896, allocations: 63.89 kB / 0.5992 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.4896, allocations: 8.031 kB / 0.5992 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.4897, allocations: 11.98 kB / 0.5993 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.4897, allocations: 4 kB / 0.5993 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4897, allocations: 0 / 0.5993 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4909, allocations: 1.196 MB / 0.6004 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.4913, allocations: 246.5 kB / 0.6007 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.4914, allocations: 12 kB / 0.6007 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.492, allocations: 19.97 kB / 0.6007 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.4921, allocations: 27.91 kB / 0.6007 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.4921, allocations: 20 kB / 0.6007 GB, free: 3.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001928/0.494, allocations: 1.498 MB / 0.6022 GB, free: 2.266 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.494, allocations: 0 / 0.6022 GB, free: 2.266 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002875/0.4969, allocations: 0.534 MB / 0.6027 GB, free: 1.73 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.0002823/0.4972, allocations: 127.1 kB / 0.6028 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003661/0.5009, allocations: 2.357 MB / 0.6051 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5009, allocations: 0 / 0.6051 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.5014, allocations: 375.9 kB / 0.6055 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5026, allocations: 160.8 kB / 0.6057 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/0.5095, allocations: 4.023 MB / 0.6096 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/0.5114, allocations: 1.862 MB / 0.6114 GB, free: 8.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002651/0.5141, allocations: 1.244 MB / 0.6126 GB, free: 7.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.5144, allocations: 135.4 kB / 0.6127 GB, free: 7.387 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5144, allocations: 3.938 kB / 0.6128 GB, free: 7.383 MB / 478.1 MB Notification: Performance of Templates: time 0.02721/0.5416, allocations: 13.11 MB / 0.6256 GB, free: 10.28 MB / 494.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