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.001143/0.001143, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.001291, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2655/0.2655, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 83.81 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4147, allocations: 62.44 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006822/0.4216, allocations: 5.392 MB / 0.5362 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004375/0.426, allocations: 1.801 MB / 0.538 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007565/0.4268, allocations: 23.47 kB / 0.538 GB, free: 8.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.4281, allocations: 0.5324 MB / 0.5385 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.4304, allocations: 0.9035 MB / 0.5394 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.4306, allocations: 20.06 kB / 0.5394 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.4327, allocations: 1.527 MB / 0.5409 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009956/0.4337, allocations: 0.7536 MB / 0.5417 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.4344, allocations: 0.5214 MB / 0.5422 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.4365, allocations: 1.602 MB / 0.5437 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.4367, allocations: 96 kB / 0.5438 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.4374, allocations: 315.5 kB / 0.5441 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.4381, allocations: 0.7049 MB / 0.5448 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007057/0.4388, allocations: 0.869 MB / 0.5457 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.4415, allocations: 2.809 MB / 0.5484 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4415, allocations: 4 kB / 0.5484 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4415, allocations: 0 / 0.5484 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.89e-05/0.4415, allocations: 0 / 0.5484 GB, free: 15.95 MB / 414.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.002767/0.4443, allocations: 2.101 MB / 0.5505 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4443, allocations: 8.031 kB / 0.5505 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.4492, allocations: 1.512 MB / 0.552 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.4505, allocations: 0.8569 MB / 0.5528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.4506, allocations: 86.47 kB / 0.5529 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.4508, allocations: 111.8 kB / 0.553 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/0.4571, allocations: 4.976 MB / 0.5578 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.4572, allocations: 23.75 kB / 0.5579 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.4573, allocations: 63.91 kB / 0.5579 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001811/0.4592, allocations: 1.182 MB / 0.5591 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007307/0.4665, allocations: 4.258 MB / 0.5632 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02293/0.4894, allocations: 20.55 MB / 0.5833 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.4909, allocations: 1.224 MB / 0.5845 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.4913, allocations: 383.2 kB / 0.5849 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.4914, allocations: 7.984 kB / 0.5849 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4914, allocations: 42.5 kB / 0.5849 GB, free: 9.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.935e-06/0.4914, allocations: 0 / 0.5849 GB, free: 9.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001688/0.4931, allocations: 1.157 MB / 0.586 GB, free: 7.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.4932, allocations: 132.5 kB / 0.5862 GB, free: 7.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.4961, allocations: 2.445 MB / 0.5886 GB, free: 5.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.4962, allocations: 29.7 kB / 0.5886 GB, free: 5.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.4974, allocations: 1.87 MB / 0.5904 GB, free: 3.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.4977, allocations: 313.8 kB / 0.5907 GB, free: 3.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009128/0.4986, allocations: 0.794 MB / 0.5915 GB, free: 2.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4988, allocations: 353.9 kB / 0.5918 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.5001, allocations: 1.026 MB / 0.5928 GB, free: 0.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.5034, allocations: 3.695 MB / 0.5964 GB, free: 11.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005424/0.5088, allocations: 5.159 MB / 0.6015 GB, free: 5.355 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-05/0.5089, allocations: 28 kB / 0.6015 GB, free: 5.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006829/0.5157, allocations: 4.471 MB / 0.6059 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.5158, allocations: 44 kB / 0.6059 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.055e-05/0.5159, allocations: 96 kB / 0.606 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.516, allocations: 124 kB / 0.6061 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.5183, allocations: 0.8655 MB / 0.607 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/0.5184, allocations: 187.2 kB / 0.6071 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.5209, allocations: 0.5661 MB / 0.6077 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/0.5212, allocations: 248.3 kB / 0.6079 GB, free: 14.73 MB / 478.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.001479/0.5227, allocations: 1.192 MB / 0.6091 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.5229, allocations: 198.6 kB / 0.6093 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.5232, allocations: 217.7 kB / 0.6095 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/0.5233, allocations: 23.97 kB / 0.6095 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.5233, allocations: 0 / 0.6095 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5233, allocations: 0 / 0.6095 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.5265, allocations: 2.077 MB / 0.6115 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5265, allocations: 0 / 0.6115 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.5268, allocations: 67.89 kB / 0.6116 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5268, allocations: 0 / 0.6116 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.5269, allocations: 8 kB / 0.6116 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5269, allocations: 4 kB / 0.6116 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5269, allocations: 3.938 kB / 0.6116 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.5281, allocations: 1.207 MB / 0.6128 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.5284, allocations: 267.5 kB / 0.6131 GB, free: 9.363 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.5286, allocations: 4 kB / 0.6131 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.5291, allocations: 15.98 kB / 0.6131 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.5292, allocations: 27.91 kB / 0.6131 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.5292, allocations: 23.98 kB / 0.6131 GB, free: 9.293 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001893/0.5311, allocations: 1.486 MB / 0.6146 GB, free: 7.789 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5312, allocations: 3.938 kB / 0.6146 GB, free: 7.785 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00278/0.5339, allocations: 0.5304 MB / 0.6151 GB, free: 7.254 MB / 478.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.0002821/0.5342, allocations: 123.1 kB / 0.6152 GB, free: 7.125 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003681/0.5379, allocations: 2.355 MB / 0.6175 GB, free: 4.793 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5379, allocations: 2 kB / 0.6175 GB, free: 4.793 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.5384, allocations: 367.6 kB / 0.6179 GB, free: 4.434 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.5395, allocations: 184.1 kB / 0.618 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/0.5465, allocations: 4.065 MB / 0.622 GB, free: 144 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.5485, allocations: 1.865 MB / 0.6238 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002771/0.5513, allocations: 1.251 MB / 0.6251 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.5517, allocations: 131.4 kB / 0.6252 GB, free: 12.86 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5517, allocations: 0 / 0.6252 GB, free: 12.86 MB / 494.1 MB Notification: Performance of Templates: time 0.02725/0.579, allocations: 13.04 MB / 0.6379 GB, free: 15.83 MB / 0.4981 GB 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