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.001235/0.001235, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 76.66 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1354, allocations: 62.45 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2898/0.4252, allocations: 39.93 MB / 0.5071 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01779/0.443, allocations: 7.264 MB / 0.5141 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009682/0.4527, allocations: 164.3 kB / 0.5143 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.4562, allocations: 1.539 MB / 0.5158 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.4577, allocations: 437.3 kB / 0.5162 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.458, allocations: 66.97 kB / 0.5163 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.4601, allocations: 1.606 MB / 0.5179 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.4621, allocations: 1.572 MB / 0.5194 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008137/0.4629, allocations: 0.4973 MB / 0.5199 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.4642, allocations: 0.7499 MB / 0.5206 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.4644, allocations: 107.9 kB / 0.5207 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.4648, allocations: 116.2 kB / 0.5208 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.4656, allocations: 0.731 MB / 0.5215 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006718/0.4662, allocations: 0.8458 MB / 0.5224 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.4682, allocations: 2.202 MB / 0.5245 GB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4682, allocations: 5.188 kB / 0.5245 GB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4682, allocations: 0 / 0.5245 GB, free: 6.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.4682, allocations: 0 / 0.5245 GB, free: 6.41 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002563/0.4708, allocations: 1.942 MB / 0.5264 GB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4709, allocations: 9.906 kB / 0.5264 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.4714, allocations: 211.2 kB / 0.5266 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/0.4724, allocations: 0.7247 MB / 0.5273 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4725, allocations: 114.9 kB / 0.5274 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.4727, allocations: 149.9 kB / 0.5276 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005592/0.4783, allocations: 3.376 MB / 0.5309 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.4783, allocations: 21.22 kB / 0.5309 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.4785, allocations: 75.33 kB / 0.531 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/0.4795, allocations: 0.6188 MB / 0.5316 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004381/0.4839, allocations: 1.854 MB / 0.5334 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.5018, allocations: 13.53 MB / 0.5466 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.5019, allocations: 167.3 kB / 0.5468 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.502, allocations: 84.14 kB / 0.5468 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.5021, allocations: 79.22 kB / 0.5469 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.5021, allocations: 113.8 kB / 0.547 GB, free: 5.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.904e-06/0.5021, allocations: 2.594 kB / 0.547 GB, free: 5.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0004408/0.5026, allocations: 145.5 kB / 0.5472 GB, free: 5.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.5027, allocations: 134.6 kB / 0.5473 GB, free: 4.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/0.5061, allocations: 1.644 MB / 0.5489 GB, free: 4.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.5062, allocations: 25.7 kB / 0.5489 GB, free: 4.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.5076, allocations: 1.355 MB / 0.5502 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.5077, allocations: 44.23 kB / 0.5503 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007649/0.5085, allocations: 429.5 kB / 0.5507 GB, free: 2.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.5088, allocations: 353.8 kB / 0.551 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009084/0.5097, allocations: 376.9 kB / 0.5514 GB, free: 2.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.5122, allocations: 1.925 MB / 0.5533 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.5161, allocations: 2.508 MB / 0.5557 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.548e-05/0.5162, allocations: 16 kB / 0.5557 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005963/0.5221, allocations: 2.118 MB / 0.5578 GB, free: 10.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.5222, allocations: 32 kB / 0.5578 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.5224, allocations: 56 kB / 0.5579 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.5225, allocations: 72.72 kB / 0.558 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.5244, allocations: 498.9 kB / 0.5584 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001286/0.5245, allocations: 111.6 kB / 0.5585 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.5273, allocations: 320.5 kB / 0.5588 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/0.5275, allocations: 140 kB / 0.559 GB, free: 9.344 MB / 414.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.001962/0.5295, allocations: 0.8588 MB / 0.5598 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.5299, allocations: 239.3 kB / 0.56 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.5303, allocations: 220.5 kB / 0.5603 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.44e-05/0.5304, allocations: 180.2 kB / 0.5604 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001134/0.5305, allocations: 192.2 kB / 0.5606 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.35e-05/0.5306, allocations: 176.4 kB / 0.5608 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.534, allocations: 1.485 MB / 0.5622 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.227e-05/0.5341, allocations: 101 kB / 0.5623 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.5342, allocations: 108.9 kB / 0.5624 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.783e-05/0.5343, allocations: 176.3 kB / 0.5626 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.5344, allocations: 180.3 kB / 0.5628 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.07e-05/0.5345, allocations: 184.2 kB / 0.5629 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001006/0.5346, allocations: 184.2 kB / 0.5631 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.535, allocations: 425.2 kB / 0.5635 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.5356, allocations: 296.4 kB / 0.5638 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/0.536, allocations: 184.2 kB / 0.564 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.5366, allocations: 108.9 kB / 0.5641 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/0.5367, allocations: 184.2 kB / 0.5643 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.5367, allocations: 105 kB / 0.5644 GB, free: 3.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002148/0.5389, allocations: 1.014 MB / 0.5654 GB, free: 2.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5389, allocations: 0 / 0.5654 GB, free: 2.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003017/0.5419, allocations: 426.1 kB / 0.5658 GB, free: 2.16 MB / 414.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.0002067/0.5422, allocations: 179.1 kB / 0.5659 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.5443, allocations: 0.895 MB / 0.5668 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5443, allocations: 0 / 0.5668 GB, free: 1.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-06/0.5443, allocations: 7.938 kB / 0.5668 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5457, allocations: 0.6434 MB / 0.5674 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/0.5529, allocations: 3.574 MB / 0.5709 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.5545, allocations: 1.58 MB / 0.5725 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001316/0.5559, allocations: 0.4914 MB / 0.573 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.556, allocations: 75.44 kB / 0.573 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.556, allocations: 0 / 0.573 GB, free: 10.66 MB / 430.1 MB Notification: Performance of Templates: time 0.02025/0.5763, allocations: 8.046 MB / 0.5809 GB, free: 2.676 MB / 430.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