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.001584/0.001584, allocations: 118.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002449/0.002449, allocations: 202 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 71.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3925, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006948/0.3995, allocations: 5.417 MB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.4037, allocations: 1.794 MB / 0.538 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.4045, allocations: 22.81 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.4059, allocations: 0.5326 MB / 0.5385 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.4081, allocations: 0.9081 MB / 0.5394 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.4082, allocations: 23.16 kB / 0.5394 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.4104, allocations: 1.518 MB / 0.5409 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.4115, allocations: 0.7544 MB / 0.5417 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.4126, allocations: 0.5226 MB / 0.5422 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.4152, allocations: 1.612 MB / 0.5437 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.4157, allocations: 88 kB / 0.5438 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008666/0.4166, allocations: 315.6 kB / 0.5441 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006252/0.4172, allocations: 0.7088 MB / 0.5448 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.418, allocations: 0.8651 MB / 0.5457 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.4206, allocations: 2.795 MB / 0.5484 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4207, allocations: 4 kB / 0.5484 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4207, allocations: 0 / 0.5484 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.4207, allocations: 0 / 0.5484 GB, free: 15.81 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.00292/0.4236, allocations: 2.038 MB / 0.5504 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4237, allocations: 16.03 kB / 0.5504 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.4287, allocations: 1.499 MB / 0.5519 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.4305, allocations: 0.8565 MB / 0.5527 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.4306, allocations: 86.47 kB / 0.5528 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.4308, allocations: 115.8 kB / 0.5529 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005933/0.4368, allocations: 4.968 MB / 0.5578 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.4368, allocations: 23.8 kB / 0.5578 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.437, allocations: 63.91 kB / 0.5578 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/0.4388, allocations: 1.182 MB / 0.559 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006189/0.445, allocations: 4.262 MB / 0.5632 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01903/0.4641, allocations: 20.5 MB / 0.5832 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.4654, allocations: 1.224 MB / 0.5844 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.4659, allocations: 383.2 kB / 0.5847 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.466, allocations: 11.94 kB / 0.5847 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.466, allocations: 38.5 kB / 0.5848 GB, free: 9.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.627e-06/0.466, allocations: 0 / 0.5848 GB, free: 9.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.00156/0.4676, allocations: 1.154 MB / 0.5859 GB, free: 7.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.4677, allocations: 136.5 kB / 0.586 GB, free: 7.738 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.4703, allocations: 2.42 MB / 0.5884 GB, free: 5.281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.4704, allocations: 37.73 kB / 0.5884 GB, free: 5.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.4715, allocations: 1.787 MB / 0.5902 GB, free: 3.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.4717, allocations: 308.5 kB / 0.5905 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008595/0.4726, allocations: 0.7855 MB / 0.5912 GB, free: 2.324 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4728, allocations: 353.9 kB / 0.5916 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.4742, allocations: 1.034 MB / 0.5926 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004107/0.4784, allocations: 3.687 MB / 0.5962 GB, free: 11.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006129/0.4845, allocations: 5.157 MB / 0.6012 GB, free: 5.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/0.4847, allocations: 28 kB / 0.6013 GB, free: 5.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007764/0.4924, allocations: 4.453 MB / 0.6056 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.4925, allocations: 44 kB / 0.6056 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/0.4927, allocations: 96.56 kB / 0.6057 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.4928, allocations: 124 kB / 0.6059 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.4951, allocations: 0.8694 MB / 0.6067 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001801/0.4953, allocations: 187.3 kB / 0.6069 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/0.4982, allocations: 0.5487 MB / 0.6074 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.4985, allocations: 256 kB / 0.6077 GB, free: 14.82 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.001652/0.5001, allocations: 1.204 MB / 0.6088 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.5005, allocations: 185.5 kB / 0.609 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.5008, allocations: 217.7 kB / 0.6092 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.67e-05/0.5009, allocations: 20 kB / 0.6092 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.5009, allocations: 4 kB / 0.6092 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5009, allocations: 3.984 kB / 0.6093 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.5045, allocations: 2.061 MB / 0.6113 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.5046, allocations: 0 / 0.6113 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.5049, allocations: 63.91 kB / 0.6113 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.5049, allocations: 0 / 0.6113 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.5049, allocations: 15.98 kB / 0.6113 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5049, allocations: 0 / 0.6113 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5049, allocations: 7.938 kB / 0.6114 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.5062, allocations: 1.19 MB / 0.6125 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.5066, allocations: 254.5 kB / 0.6128 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.5067, allocations: 8 kB / 0.6128 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.5072, allocations: 19.97 kB / 0.6128 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.5073, allocations: 31.84 kB / 0.6128 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.5074, allocations: 16 kB / 0.6128 GB, free: 9.418 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002153/0.5095, allocations: 1.494 MB / 0.6143 GB, free: 7.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5095, allocations: 0 / 0.6143 GB, free: 7.906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002963/0.5125, allocations: 0.5184 MB / 0.6148 GB, free: 7.387 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.00028/0.5128, allocations: 131.2 kB / 0.6149 GB, free: 7.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003462/0.5163, allocations: 2.346 MB / 0.6172 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5163, allocations: 0 / 0.6172 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.5167, allocations: 376.3 kB / 0.6176 GB, free: 4.559 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5178, allocations: 181.7 kB / 0.6177 GB, free: 4.387 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/0.5247, allocations: 4.01 MB / 0.6217 GB, free: 344 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.5264, allocations: 1.865 MB / 0.6235 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002654/0.5291, allocations: 1.255 MB / 0.6247 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.5293, allocations: 127.4 kB / 0.6248 GB, free: 13.05 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5294, allocations: 4 kB / 0.6248 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Templates: time 0.02657/0.5559, allocations: 12.52 MB / 0.6371 GB, free: 0.5352 MB / 494.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