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.0008797/0.0008798, allocations: 92.52 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 199.7 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002444/0.0002445, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1174, allocations: 63.55 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.009242/0.1267, allocations: 8.407 MB / 491.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00492/0.1317, allocations: 2.321 MB / 493.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.1328, allocations: 31.94 kB / 493.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007554/0.1336, allocations: 231 kB / 494.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.1358, allocations: 0.8527 MB / 494.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.136, allocations: 15.97 kB / 494.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004019/0.1401, allocations: 3.269 MB / 498.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.1419, allocations: 0.9661 MB / 499.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.1427, allocations: 418 kB / 499.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1439, allocations: 0.7627 MB / 0.4886 GB, free: 2.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.1442, allocations: 56 kB / 0.4887 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007359/0.145, allocations: 291.5 kB / 0.4889 GB, free: 2.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008091/0.1458, allocations: 0.6894 MB / 0.4896 GB, free: 1.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.1469, allocations: 0.8745 MB / 0.4905 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.1496, allocations: 2.569 MB / 0.493 GB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1496, allocations: 0 / 0.493 GB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1496, allocations: 0 / 0.493 GB, free: 14.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.837e-05/0.1497, allocations: 0 / 0.493 GB, free: 14.31 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.002784/0.1525, allocations: 1.691 MB / 0.4946 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1525, allocations: 8.031 kB / 0.4946 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/0.1577, allocations: 1.546 MB / 0.4961 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.1591, allocations: 0.8488 MB / 0.497 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.1592, allocations: 86.41 kB / 0.4971 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.1595, allocations: 111.8 kB / 0.4972 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.1655, allocations: 4.98 MB / 0.502 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.1656, allocations: 23.81 kB / 0.502 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.1658, allocations: 63.91 kB / 0.5021 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/0.1676, allocations: 1.181 MB / 0.5033 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2497/0.4173, allocations: 4.244 MB / 0.5074 GB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02278/0.4401, allocations: 20.61 MB / 0.5275 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.4424, allocations: 1.177 MB / 0.5287 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/0.443, allocations: 341.1 kB / 0.529 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.4431, allocations: 8.312 kB / 0.529 GB, free: 21.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4431, allocations: 45.91 kB / 0.5291 GB, free: 21.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.697e-06/0.4431, allocations: 0 / 0.5291 GB, free: 21.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002446/0.4456, allocations: 1.042 MB / 0.5301 GB, free: 20.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.4456, allocations: 108 kB / 0.5302 GB, free: 20.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/0.4501, allocations: 2.468 MB / 0.5326 GB, free: 19.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.4502, allocations: 31.59 kB / 0.5326 GB, free: 19.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.4512, allocations: 1.825 MB / 0.5344 GB, free: 18.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.4514, allocations: 280.2 kB / 0.5347 GB, free: 17.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/0.4518, allocations: 336.5 kB / 0.535 GB, free: 17.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4519, allocations: 350.6 kB / 0.5353 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.4535, allocations: 1.023 MB / 0.5363 GB, free: 17.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.4566, allocations: 3.729 MB / 0.54 GB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/0.4617, allocations: 5.175 MB / 0.545 GB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.293e-05/0.4618, allocations: 29.62 kB / 0.545 GB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006853/0.4686, allocations: 4.46 MB / 0.5494 GB, free: 5.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.4687, allocations: 48.5 kB / 0.5494 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-05/0.4688, allocations: 98.59 kB / 0.5495 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.4689, allocations: 130.3 kB / 0.5497 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.471, allocations: 0.8862 MB / 0.5505 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/0.4711, allocations: 187.3 kB / 0.5507 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.4738, allocations: 0.5604 MB / 0.5513 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.4741, allocations: 250 kB / 0.5515 GB, free: 3.879 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001486/0.4756, allocations: 1.197 MB / 0.5527 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.4758, allocations: 185.5 kB / 0.5528 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.4762, allocations: 233.9 kB / 0.5531 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.4762, allocations: 8 kB / 0.5531 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.4762, allocations: 0 / 0.5531 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4762, allocations: 0.875 kB / 0.5531 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.4793, allocations: 2.047 MB / 0.5551 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4793, allocations: 0 / 0.5551 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4796, allocations: 59.89 kB / 0.5551 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4796, allocations: 4 kB / 0.5551 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4797, allocations: 12 kB / 0.5551 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4797, allocations: 4 kB / 0.5551 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4797, allocations: 0.7031 kB / 0.5551 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.4809, allocations: 1.056 MB / 0.5562 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.4814, allocations: 255.1 kB / 0.5564 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.4815, allocations: 8 kB / 0.5564 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.482, allocations: 25.22 kB / 0.5565 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4821, allocations: 23.91 kB / 0.5565 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.4821, allocations: 16 kB / 0.5565 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002335/0.4845, allocations: 1.514 MB / 0.558 GB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4845, allocations: 0 / 0.558 GB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003067/0.4876, allocations: 0.5195 MB / 0.5585 GB, free: 12.61 MB / 398.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 (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.0002955/0.4879, allocations: 135 kB / 0.5586 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003824/0.4917, allocations: 2.321 MB / 0.5609 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4917, allocations: 0 / 0.5609 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.4922, allocations: 331.7 kB / 0.5612 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.4935, allocations: 170.7 kB / 0.5614 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.5013, allocations: 4.895 MB / 0.5661 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.5031, allocations: 1.858 MB / 0.5679 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00296/0.5061, allocations: 1.267 MB / 0.5692 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.5064, allocations: 131.4 kB / 0.5693 GB, free: 1.457 MB / 398.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5064, allocations: 0 / 0.5693 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Templates: time 0.02687/0.5333, allocations: 12.7 MB / 0.5817 GB, free: 4.836 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 -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