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.001186/0.001186, allocations: 118.4 kB / 17.78 MB, free: 5.281 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.00127/0.00127, allocations: 183 kB / 18.71 MB, free: 4.355 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2118/0.2118, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.89 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4089, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006763/0.4157, allocations: 5.41 MB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.421, allocations: 1.758 MB / 0.5259 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.4221, allocations: 19.38 kB / 0.5259 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.4242, allocations: 0.5263 MB / 0.5264 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.427, allocations: 0.9111 MB / 0.5273 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.4272, allocations: 20.11 kB / 0.5273 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.4294, allocations: 1.552 MB / 0.5288 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009147/0.4304, allocations: 0.7518 MB / 0.5296 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.4312, allocations: 0.5273 MB / 0.5301 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.4329, allocations: 1.499 MB / 0.5315 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.4332, allocations: 88.69 kB / 0.5316 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000739/0.434, allocations: 316.7 kB / 0.5319 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006623/0.4347, allocations: 0.7067 MB / 0.5326 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007776/0.4354, allocations: 0.8872 MB / 0.5335 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003032/0.4385, allocations: 2.842 MB / 0.5363 GB, free: 8.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4385, allocations: 5.062 kB / 0.5363 GB, free: 8.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4385, allocations: 3.938 kB / 0.5363 GB, free: 8.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.998e-05/0.4386, allocations: 0 / 0.5363 GB, free: 8.414 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.003366/0.4419, allocations: 2.129 MB / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.442, allocations: 9.438 kB / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.4469, allocations: 1.509 MB / 0.5398 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.4485, allocations: 0.859 MB / 0.5407 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.4486, allocations: 90.38 kB / 0.5408 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.4488, allocations: 113 kB / 0.5409 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006167/0.455, allocations: 4.975 MB / 0.5457 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.455, allocations: 23.75 kB / 0.5458 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.4552, allocations: 63.91 kB / 0.5458 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001715/0.457, allocations: 1.182 MB / 0.547 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/0.4633, allocations: 4.254 MB / 0.5511 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.4855, allocations: 20.54 MB / 0.5712 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.4871, allocations: 1.216 MB / 0.5724 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.4876, allocations: 387.3 kB / 0.5727 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.4877, allocations: 7.938 kB / 0.5727 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.4877, allocations: 38.5 kB / 0.5728 GB, free: 3.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 5.651e-06/0.4878, allocations: 4 kB / 0.5728 GB, free: 3.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.002108/0.4899, allocations: 1.155 MB / 0.5739 GB, free: 2.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.49, allocations: 140.6 kB / 0.574 GB, free: 1.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004202/0.4942, allocations: 2.441 MB / 0.5764 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.4943, allocations: 33.7 kB / 0.5765 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.4959, allocations: 1.878 MB / 0.5783 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.4963, allocations: 317.8 kB / 0.5786 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.4975, allocations: 0.7861 MB / 0.5794 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4977, allocations: 353.9 kB / 0.5797 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.4992, allocations: 1.038 MB / 0.5807 GB, free: 11.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/0.5027, allocations: 3.687 MB / 0.5843 GB, free: 6.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/0.5086, allocations: 5.155 MB / 0.5894 GB, free: 15.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.025e-05/0.5087, allocations: 28 kB / 0.5894 GB, free: 15.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007113/0.5158, allocations: 4.461 MB / 0.5937 GB, free: 11.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-05/0.5159, allocations: 49.88 kB / 0.5938 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.5161, allocations: 96 kB / 0.5939 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.5162, allocations: 124 kB / 0.594 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.5186, allocations: 0.8655 MB / 0.5948 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/0.5188, allocations: 187.2 kB / 0.595 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.5214, allocations: 0.5782 MB / 0.5956 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/0.5217, allocations: 248 kB / 0.5958 GB, free: 8.945 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.001623/0.5234, allocations: 1.184 MB / 0.597 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.5237, allocations: 202.6 kB / 0.5972 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.5241, allocations: 229.8 kB / 0.5974 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.5241, allocations: 12 kB / 0.5974 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.5241, allocations: 4 kB / 0.5974 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.5241, allocations: 3.984 kB / 0.5974 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.5277, allocations: 2.076 MB / 0.5994 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5277, allocations: 0 / 0.5994 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.528, allocations: 64 kB / 0.5995 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.528, allocations: 3.938 kB / 0.5995 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.528, allocations: 15.98 kB / 0.5995 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.528, allocations: 0 / 0.5995 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.528, allocations: 0 / 0.5995 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.5292, allocations: 1.199 MB / 0.6007 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.5296, allocations: 255.6 kB / 0.6009 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.5299, allocations: 8 kB / 0.6009 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/0.5305, allocations: 31.95 kB / 0.601 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.5306, allocations: 23.91 kB / 0.601 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.5306, allocations: 20 kB / 0.601 GB, free: 3.512 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001999/0.5326, allocations: 1.494 MB / 0.6025 GB, free: 2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5326, allocations: 0 / 0.6025 GB, free: 2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002688/0.5353, allocations: 0.542 MB / 0.603 GB, free: 1.457 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.0002513/0.5356, allocations: 127.1 kB / 0.6031 GB, free: 1.324 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003274/0.5389, allocations: 2.361 MB / 0.6054 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5389, allocations: 0 / 0.6054 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.5393, allocations: 368.3 kB / 0.6058 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5404, allocations: 164 kB / 0.6059 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.5466, allocations: 4.085 MB / 0.6099 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.5483, allocations: 1.869 MB / 0.6117 GB, free: 8.426 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00247/0.5507, allocations: 1.24 MB / 0.613 GB, free: 7.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.551, allocations: 135.4 kB / 0.6131 GB, free: 7.047 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.551, allocations: 0 / 0.6131 GB, free: 7.047 MB / 478.1 MB Notification: Performance of Templates: time 0.02742/0.5785, allocations: 13.12 MB / 0.6259 GB, free: 9.945 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