Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009404/0.0009406, allocations: 97.42 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 193.6 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.18 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004962, allocations: 8.219 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.186, allocations: 63.57 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.009028/0.1951, allocations: 7.878 MB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.2, allocations: 2.19 MB / 492.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.2013, allocations: 27.94 kB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.2026, allocations: 386.2 kB / 492.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.2062, allocations: 1.281 MB / 494.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.2065, allocations: 23.97 kB / 494.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3137/0.5203, allocations: 30.07 MB / 0.512 GB, free: 32.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.5224, allocations: 0.9302 MB / 0.5129 GB, free: 32.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008585/0.5233, allocations: 474.7 kB / 0.5133 GB, free: 32.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.5244, allocations: 0.7469 MB / 0.514 GB, free: 32.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.5246, allocations: 55.94 kB / 0.5141 GB, free: 32.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006927/0.5253, allocations: 266.5 kB / 0.5144 GB, free: 32.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007501/0.5261, allocations: 0.6607 MB / 0.515 GB, free: 32.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.5265, allocations: 380.6 kB / 0.5154 GB, free: 32.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.5293, allocations: 2.09 MB / 0.5174 GB, free: 32.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5294, allocations: 1.062 kB / 0.5174 GB, free: 32.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5294, allocations: 0 / 0.5174 GB, free: 32.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.008e-05/0.5294, allocations: 0 / 0.5174 GB, free: 32.65 MB / 382.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.00308/0.5325, allocations: 1.71 MB / 0.5191 GB, free: 31.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.5326, allocations: 9.969 kB / 0.5191 GB, free: 31.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/0.5374, allocations: 1.544 MB / 0.5206 GB, free: 31.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.5389, allocations: 0.8407 MB / 0.5214 GB, free: 31.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.539, allocations: 83.69 kB / 0.5215 GB, free: 31.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.5392, allocations: 109.2 kB / 0.5216 GB, free: 31.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006343/0.5455, allocations: 4.969 MB / 0.5265 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.5456, allocations: 23.25 kB / 0.5265 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.5458, allocations: 62.39 kB / 0.5265 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001854/0.5476, allocations: 1.185 MB / 0.5277 GB, free: 29.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006958/0.5546, allocations: 4.225 MB / 0.5318 GB, free: 27.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.5718, allocations: 20.61 MB / 0.5519 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5728, allocations: 1.171 MB / 0.5531 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.5732, allocations: 340 kB / 0.5534 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.5732, allocations: 7.938 kB / 0.5534 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.5732, allocations: 38.56 kB / 0.5535 GB, free: 4.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.248e-06/0.5733, allocations: 0 / 0.5535 GB, free: 4.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001337/0.5746, allocations: 1.055 MB / 0.5545 GB, free: 3.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.5746, allocations: 106.8 kB / 0.5546 GB, free: 3.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.5772, allocations: 2.447 MB / 0.557 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.5772, allocations: 33.7 kB / 0.557 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.5783, allocations: 1.819 MB / 0.5588 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.5786, allocations: 275.4 kB / 0.559 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.5788, allocations: 76 kB / 0.5591 GB, free: 14.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000346/0.5791, allocations: 0.511 MB / 0.5596 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.5807, allocations: 1.016 MB / 0.5606 GB, free: 13.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/0.5843, allocations: 3.71 MB / 0.5642 GB, free: 8.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.5869, allocations: 1.935 MB / 0.5661 GB, free: 6.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.849e-05/0.587, allocations: 28 kB / 0.5661 GB, free: 6.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006665/0.5936, allocations: 4.429 MB / 0.5705 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.5937, allocations: 50.19 kB / 0.5705 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.295e-05/0.5938, allocations: 96 kB / 0.5706 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.594, allocations: 140 kB / 0.5707 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.5963, allocations: 0.8889 MB / 0.5716 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001476/0.5964, allocations: 191.2 kB / 0.5718 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.5989, allocations: 0.557 MB / 0.5723 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.5992, allocations: 251.2 kB / 0.5726 GB, free: 15.46 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001783/0.601, allocations: 1.196 MB / 0.5737 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.6014, allocations: 189.2 kB / 0.5739 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.6018, allocations: 221.9 kB / 0.5741 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.6019, allocations: 8 kB / 0.5741 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.6019, allocations: 3.984 kB / 0.5742 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6019, allocations: 0 / 0.5742 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.6054, allocations: 2.045 MB / 0.5762 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6054, allocations: 0 / 0.5762 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.6057, allocations: 63.89 kB / 0.5762 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.6057, allocations: 4 kB / 0.5762 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.6058, allocations: 12.28 kB / 0.5762 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6058, allocations: 0 / 0.5762 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.6058, allocations: 3.938 kB / 0.5762 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.607, allocations: 1.05 MB / 0.5773 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.6074, allocations: 250.5 kB / 0.5775 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.6076, allocations: 8 kB / 0.5775 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.608, allocations: 19.97 kB / 0.5775 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.6081, allocations: 23.97 kB / 0.5775 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/0.6081, allocations: 19.2 kB / 0.5776 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002558/0.6107, allocations: 1.506 MB / 0.579 GB, free: 8.734 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6107, allocations: 6.078 kB / 0.579 GB, free: 8.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003483/0.6142, allocations: 0.5239 MB / 0.5796 GB, free: 8.207 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000338/0.6146, allocations: 126.9 kB / 0.5797 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.6181, allocations: 2.299 MB / 0.5819 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6181, allocations: 0 / 0.5819 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.6185, allocations: 340.2 kB / 0.5822 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.6194, allocations: 165.5 kB / 0.5824 GB, free: 5.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/0.6262, allocations: 4.698 MB / 0.587 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/0.6282, allocations: 1.858 MB / 0.5888 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003005/0.6312, allocations: 1.267 MB / 0.59 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.6315, allocations: 127.4 kB / 0.5902 GB, free: 13.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6315, allocations: 0 / 0.5902 GB, free: 13.28 MB / 430.1 MB Notification: Performance of Templates: time 0.02863/0.6601, allocations: 12.52 MB / 0.6024 GB, free: 0.8398 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches