Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.11 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003207, allocations: 82.84 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1626, allocations: 62.46 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0107/0.1734, allocations: 8.688 MB / 488.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.1783, allocations: 2.289 MB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009377/0.1793, allocations: 43.94 kB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.1823, allocations: 1.55 MB / 492.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.1836, allocations: 461.3 kB / 493.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1838, allocations: 71.84 kB / 493.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.185, allocations: 0.9294 MB / 494.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.1869, allocations: 1.499 MB / 495.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.1877, allocations: 0.5371 MB / 496.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.189, allocations: 0.6694 MB / 496.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.1893, allocations: 124 kB / 497 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.1897, allocations: 128 kB / 497.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000971/0.1907, allocations: 0.7285 MB / 497.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.1919, allocations: 0.858 MB / 498.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.195, allocations: 2.207 MB / 0.4891 GB, free: 324 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.195, allocations: 3.938 kB / 0.4891 GB, free: 320 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.195, allocations: 0 / 0.4891 GB, free: 320 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.755e-05/0.195, allocations: 0 / 0.4891 GB, free: 320 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003203/0.1983, allocations: 1.944 MB / 0.491 GB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.729e-05/0.1984, allocations: 12.03 kB / 0.4911 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.1994, allocations: 210.1 kB / 0.4913 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.2011, allocations: 0.7187 MB / 0.492 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.2012, allocations: 115.4 kB / 0.4921 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.2014, allocations: 152.1 kB / 0.4922 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00514/0.2066, allocations: 3.375 MB / 0.4955 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.2066, allocations: 15.81 kB / 0.4955 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.2068, allocations: 75.94 kB / 0.4956 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008101/0.2076, allocations: 0.6226 MB / 0.4962 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/0.2107, allocations: 1.858 MB / 0.498 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2513/0.4621, allocations: 13.53 MB / 0.5112 GB, free: 30.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.4622, allocations: 172.5 kB / 0.5114 GB, free: 30.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.4622, allocations: 83.61 kB / 0.5115 GB, free: 30.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.4622, allocations: 81.66 kB / 0.5115 GB, free: 30.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.4623, allocations: 107.8 kB / 0.5117 GB, free: 30.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.834e-06/0.4623, allocations: 0 / 0.5117 GB, free: 30.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002236/0.4625, allocations: 147.4 kB / 0.5118 GB, free: 30.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.4625, allocations: 135.7 kB / 0.5119 GB, free: 30.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.4645, allocations: 1.645 MB / 0.5135 GB, free: 29.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.4646, allocations: 27.78 kB / 0.5136 GB, free: 29.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/0.4652, allocations: 1.358 MB / 0.5149 GB, free: 28.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.4653, allocations: 45.56 kB / 0.5149 GB, free: 28.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.4657, allocations: 429.8 kB / 0.5153 GB, free: 28.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/0.4658, allocations: 357.3 kB / 0.5157 GB, free: 28.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.4663, allocations: 368.4 kB / 0.516 GB, free: 28.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.4677, allocations: 1.929 MB / 0.5179 GB, free: 25.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.4696, allocations: 2.515 MB / 0.5204 GB, free: 23.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/0.4697, allocations: 16.38 kB / 0.5204 GB, free: 23.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003291/0.473, allocations: 2.108 MB / 0.5224 GB, free: 22.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.473, allocations: 32.7 kB / 0.5225 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.618e-05/0.4731, allocations: 56.62 kB / 0.5225 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.4733, allocations: 74.16 kB / 0.5226 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4744, allocations: 486.8 kB / 0.5231 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.445e-05/0.4745, allocations: 109.8 kB / 0.5232 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.4759, allocations: 326.5 kB / 0.5235 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.4761, allocations: 137.8 kB / 0.5236 GB, free: 22.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001161/0.4772, allocations: 0.8667 MB / 0.5245 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.4774, allocations: 223 kB / 0.5247 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.4776, allocations: 233.8 kB / 0.5249 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.4776, allocations: 178.1 kB / 0.5251 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/0.4777, allocations: 178.9 kB / 0.5252 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.4777, allocations: 181.9 kB / 0.5254 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4796, allocations: 1.487 MB / 0.5269 GB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.4796, allocations: 109.6 kB / 0.527 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.4796, allocations: 103.5 kB / 0.5271 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.018e-05/0.4797, allocations: 177 kB / 0.5272 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.4797, allocations: 182.5 kB / 0.5274 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-05/0.4798, allocations: 182.3 kB / 0.5276 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.168e-05/0.4798, allocations: 180.9 kB / 0.5277 GB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.48, allocations: 433.5 kB / 0.5282 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.4803, allocations: 297.4 kB / 0.5284 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4804, allocations: 178.4 kB / 0.5286 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.4806, allocations: 107.6 kB / 0.5287 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.4807, allocations: 183.1 kB / 0.5289 GB, free: 17.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4807, allocations: 106.4 kB / 0.529 GB, free: 17.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.482, allocations: 1.012 MB / 0.53 GB, free: 17.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.482, allocations: 4.781 kB / 0.53 GB, free: 17.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001824/0.4839, allocations: 425.1 kB / 0.5304 GB, free: 17.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001524/0.484, allocations: 175.7 kB / 0.5306 GB, free: 17.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.4854, allocations: 0.9028 MB / 0.5314 GB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4854, allocations: 0 / 0.5314 GB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.4854, allocations: 1 kB / 0.5314 GB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.4861, allocations: 0.5762 MB / 0.532 GB, free: 16.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.4908, allocations: 2.796 MB / 0.5347 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.4922, allocations: 1.573 MB / 0.5363 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.4933, allocations: 499.4 kB / 0.5367 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4934, allocations: 78.25 kB / 0.5368 GB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4934, allocations: 0 / 0.5368 GB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.0163/0.5097, allocations: 8.366 MB / 0.545 GB, free: 7.473 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches