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.001113/0.001113, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001114/0.001114, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.412/1.412, allocations: 222.9 MB / 243.1 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.2214/0.2214, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.378, allocations: 60.82 MB / 0.5195 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006284/0.3843, allocations: 5.429 MB / 0.5248 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.3882, allocations: 1.745 MB / 0.5265 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.3887, allocations: 19.25 kB / 0.5266 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.39, allocations: 0.531 MB / 0.5271 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.3922, allocations: 0.924 MB / 0.528 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.3924, allocations: 16.33 kB / 0.528 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.3947, allocations: 1.547 MB / 0.5295 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.3959, allocations: 0.7474 MB / 0.5302 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.3968, allocations: 0.5289 MB / 0.5308 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.3988, allocations: 1.501 MB / 0.5322 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002486/0.3991, allocations: 94.44 kB / 0.5323 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000768/0.3999, allocations: 311.2 kB / 0.5326 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000846/0.4007, allocations: 0.7147 MB / 0.5333 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.4016, allocations: 0.8833 MB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.4048, allocations: 2.834 MB / 0.5369 GB, free: 8.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4048, allocations: 0 / 0.5369 GB, free: 8.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4048, allocations: 0 / 0.5369 GB, free: 8.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.758e-05/0.4048, allocations: 1.312 kB / 0.5369 GB, free: 8.406 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.00318/0.408, allocations: 2.065 MB / 0.539 GB, free: 6.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.4081, allocations: 8.812 kB / 0.539 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.4133, allocations: 1.498 MB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.4151, allocations: 0.8589 MB / 0.5413 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.765e-05/0.4152, allocations: 88.97 kB / 0.5414 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.4154, allocations: 110 kB / 0.5415 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006489/0.4219, allocations: 4.986 MB / 0.5463 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.422, allocations: 19.92 kB / 0.5463 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/0.4223, allocations: 63.91 kB / 0.5464 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/0.4243, allocations: 1.178 MB / 0.5476 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009033/0.4334, allocations: 4.262 MB / 0.5517 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.4563, allocations: 20.5 MB / 0.5717 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.4578, allocations: 1.22 MB / 0.5729 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.4583, allocations: 379.3 kB / 0.5733 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4583, allocations: 11.88 kB / 0.5733 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4584, allocations: 42.56 kB / 0.5733 GB, free: 3.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 5.31e-06/0.4584, allocations: 0 / 0.5733 GB, free: 3.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.001836/0.4602, allocations: 1.153 MB / 0.5745 GB, free: 2.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.4603, allocations: 136.5 kB / 0.5746 GB, free: 2.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.464, allocations: 2.429 MB / 0.577 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.4641, allocations: 37.61 kB / 0.577 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.4656, allocations: 1.795 MB / 0.5788 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.466, allocations: 304.6 kB / 0.5791 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.4672, allocations: 0.7854 MB / 0.5798 GB, free: 12.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4674, allocations: 353.9 kB / 0.5802 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.4692, allocations: 1.034 MB / 0.5812 GB, free: 11.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003809/0.473, allocations: 3.695 MB / 0.5848 GB, free: 6.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005825/0.4788, allocations: 5.155 MB / 0.5898 GB, free: 15.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.479, allocations: 28 kB / 0.5898 GB, free: 15.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007346/0.4863, allocations: 4.453 MB / 0.5942 GB, free: 11.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.233e-05/0.4864, allocations: 54.25 kB / 0.5942 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.4866, allocations: 96 kB / 0.5943 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.4867, allocations: 124 kB / 0.5944 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.4891, allocations: 0.8655 MB / 0.5953 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00016/0.4893, allocations: 183.3 kB / 0.5955 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.492, allocations: 0.5565 MB / 0.596 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003512/0.4924, allocations: 252 kB / 0.5962 GB, free: 9.176 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.001777/0.4942, allocations: 1.184 MB / 0.5974 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.4945, allocations: 190.1 kB / 0.5976 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.4949, allocations: 221.8 kB / 0.5978 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.495, allocations: 0 / 0.5978 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.495, allocations: 0 / 0.5978 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.4955, allocations: 254.5 kB / 0.598 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.4959, allocations: 11.98 kB / 0.5981 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.4966, allocations: 19.92 kB / 0.5981 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.4966, allocations: 27.91 kB / 0.5981 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001194/0.4978, allocations: 1.037 MB / 0.5991 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001322/0.4992, allocations: 1.259 MB / 0.6003 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004087/0.4996, allocations: 339.9 kB / 0.6007 GB, free: 4.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002751/0.5024, allocations: 1.49 MB / 0.6021 GB, free: 3.082 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.5024, allocations: 0 / 0.6021 GB, free: 3.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004918/0.5073, allocations: 2.141 MB / 0.6042 GB, free: 0.957 MB / 462.1 MB Notification: Performance of SimCode: time 0.008373/0.5157, allocations: 4.496 MB / 0.6086 GB, free: 12.4 MB / 478.1 MB Notification: Performance of Templates: time 0.03772/0.5534, allocations: 18.52 MB / 0.6267 GB, free: 9.895 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches