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.001252/0.001252, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1998/0.1998, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 72.17 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 62.44 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006321/0.1453, allocations: 5.41 MB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1486, allocations: 1.799 MB / 488.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.149, allocations: 16 kB / 488.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.1502, allocations: 0.5369 MB / 489.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.1519, allocations: 0.9068 MB / 490.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.586e-05/0.152, allocations: 8 kB / 490.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.1536, allocations: 1.53 MB / 491.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007924/0.1544, allocations: 0.7503 MB / 492.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.155, allocations: 0.5291 MB / 492.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.1566, allocations: 1.613 MB / 494.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.1568, allocations: 88 kB / 494.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.1574, allocations: 307.5 kB / 494.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000565/0.158, allocations: 0.705 MB / 495.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007217/0.1587, allocations: 0.869 MB / 496.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.1608, allocations: 2.805 MB / 499.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1609, allocations: 0 / 499.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1609, allocations: 0 / 499.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.1609, allocations: 0 / 499.3 MB, free: 2.59 MB / 366.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.002461/0.1634, allocations: 2.042 MB / 0.4896 GB, free: 500 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1634, allocations: 12.03 kB / 0.4896 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.1679, allocations: 1.495 MB / 0.4911 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.1696, allocations: 0.8566 MB / 0.4919 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.1697, allocations: 86.47 kB / 0.492 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.1699, allocations: 119.8 kB / 0.4921 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005709/0.1756, allocations: 4.972 MB / 0.497 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.1757, allocations: 27.75 kB / 0.497 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.1759, allocations: 55.91 kB / 0.497 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.1776, allocations: 1.185 MB / 0.4982 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006582/0.1842, allocations: 4.254 MB / 0.5023 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2767/0.4609, allocations: 20.5 MB / 0.5224 GB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4622, allocations: 1.226 MB / 0.5236 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.4627, allocations: 381.4 kB / 0.5239 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.4628, allocations: 11.44 kB / 0.5239 GB, free: 22.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.4628, allocations: 40 kB / 0.524 GB, free: 22.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.136e-06/0.4628, allocations: 0 / 0.524 GB, free: 22.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001831/0.4646, allocations: 1.148 MB / 0.5251 GB, free: 22.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4647, allocations: 137.8 kB / 0.5252 GB, free: 21.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.4688, allocations: 2.424 MB / 0.5276 GB, free: 21.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.4689, allocations: 31.92 kB / 0.5276 GB, free: 20.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.47, allocations: 1.795 MB / 0.5294 GB, free: 19.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.4703, allocations: 302.8 kB / 0.5297 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.4715, allocations: 0.7831 MB / 0.5304 GB, free: 19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4716, allocations: 357.2 kB / 0.5308 GB, free: 18.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.4733, allocations: 1.034 MB / 0.5318 GB, free: 18.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/0.4759, allocations: 3.688 MB / 0.5354 GB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/0.4802, allocations: 5.169 MB / 0.5404 GB, free: 9.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/0.4804, allocations: 26.75 kB / 0.5405 GB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005989/0.4864, allocations: 4.451 MB / 0.5448 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.4865, allocations: 47.73 kB / 0.5448 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.186e-05/0.4866, allocations: 97.28 kB / 0.5449 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.873e-05/0.4867, allocations: 120.6 kB / 0.5451 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.4885, allocations: 0.8718 MB / 0.5459 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.543e-05/0.4886, allocations: 187.5 kB / 0.5461 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.4909, allocations: 0.5472 MB / 0.5466 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.4911, allocations: 257.1 kB / 0.5469 GB, free: 7.031 MB / 382.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.0011/0.4922, allocations: 1.189 MB / 0.548 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.4924, allocations: 185.5 kB / 0.5482 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.4927, allocations: 221.6 kB / 0.5484 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/0.4927, allocations: 23.98 kB / 0.5484 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4927, allocations: 1.125 kB / 0.5484 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4927, allocations: 4 kB / 0.5484 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.4957, allocations: 2.062 MB / 0.5505 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4957, allocations: 0 / 0.5505 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.4959, allocations: 67.83 kB / 0.5505 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.496, allocations: 4.5 kB / 0.5505 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.496, allocations: 8 kB / 0.5505 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.496, allocations: 3.938 kB / 0.5505 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.496, allocations: 4.688 kB / 0.5505 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.4969, allocations: 1.198 MB / 0.5517 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.4972, allocations: 246.6 kB / 0.5519 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.4973, allocations: 11.98 kB / 0.552 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.4978, allocations: 18.02 kB / 0.552 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.4978, allocations: 23.97 kB / 0.552 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.4979, allocations: 19.62 kB / 0.552 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00135/0.4992, allocations: 1.497 MB / 0.5535 GB, free: 284 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4992, allocations: 0 / 0.5535 GB, free: 284 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002364/0.5016, allocations: 0.5191 MB / 0.554 GB, free: 15.76 MB / 398.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.000287/0.5019, allocations: 127.1 kB / 0.5541 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003275/0.5052, allocations: 2.363 MB / 0.5564 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5052, allocations: 0.8125 kB / 0.5564 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.5056, allocations: 373.5 kB / 0.5568 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.5066, allocations: 167.3 kB / 0.5569 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.5127, allocations: 4.014 MB / 0.5609 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.5148, allocations: 1.866 MB / 0.5627 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002696/0.5175, allocations: 1.251 MB / 0.5639 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.5179, allocations: 139.4 kB / 0.564 GB, free: 5.418 MB / 398.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5179, allocations: 0 / 0.564 GB, free: 5.418 MB / 398.1 MB Notification: Performance of Templates: time 0.02618/0.5441, allocations: 11.82 MB / 0.5756 GB, free: 9.629 MB / 414.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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches