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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007477/0.0007478, allocations: 92.66 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1682/0.1682, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.813e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09156, allocations: 63.25 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4448, allocations: 95.66 MB / 0.6048 GB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.4451, allocations: 79.27 kB / 0.6049 GB, free: 14.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06444/0.5095, allocations: 28.13 MB / 0.6323 GB, free: 6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5095, allocations: 0 / 0.6323 GB, free: 6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.166e-05/0.5096, allocations: 36 kB / 0.6324 GB, free: 5.965 MB / 426.7 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.003233/0.5129, allocations: 1.581 MB / 0.6339 GB, free: 4.449 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5129, allocations: 15.97 kB / 0.6339 GB, free: 4.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.514, allocations: 269.1 kB / 0.6342 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.5156, allocations: 0.8351 MB / 0.635 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.5158, allocations: 142.6 kB / 0.6351 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004256/0.5162, allocations: 192.2 kB / 0.6353 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.5214, allocations: 3.328 MB / 0.6386 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.5215, allocations: 19.81 kB / 0.6386 GB, free: 292 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.5217, allocations: 97.45 kB / 0.6387 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003763/0.5221, allocations: 326.7 kB / 0.639 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.525, allocations: 1.829 MB / 0.6408 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.5383, allocations: 15.22 MB / 0.6556 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.5384, allocations: 173.1 kB / 0.6558 GB, free: 364 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.5384, allocations: 87.95 kB / 0.6559 GB, free: 276 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.5385, allocations: 79.22 kB / 0.656 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.5385, allocations: 105.8 kB / 0.6561 GB, free: 80 kB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.494e-06/0.5385, allocations: 0 / 0.6561 GB, free: 80 kB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003327/0.5389, allocations: 152.2 kB / 0.6562 GB, free: 15.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.539, allocations: 126.7 kB / 0.6563 GB, free: 15.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.5411, allocations: 1.457 MB / 0.6578 GB, free: 14.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.5412, allocations: 25.7 kB / 0.6578 GB, free: 14.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000887/0.542, allocations: 1.363 MB / 0.6591 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.5421, allocations: 42.14 kB / 0.6591 GB, free: 13.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.5422, allocations: 42.25 kB / 0.6592 GB, free: 13.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.5424, allocations: 438.6 kB / 0.6596 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.543, allocations: 357.5 kB / 0.6599 GB, free: 12.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.5446, allocations: 1.902 MB / 0.6618 GB, free: 10.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.5456, allocations: 0.7818 MB / 0.6626 GB, free: 9.602 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-05/0.5457, allocations: 16 kB / 0.6626 GB, free: 9.586 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003339/0.549, allocations: 2.08 MB / 0.6646 GB, free: 7.742 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.5491, allocations: 28.19 kB / 0.6646 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-05/0.5492, allocations: 60 kB / 0.6647 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.63e-05/0.5493, allocations: 84 kB / 0.6648 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5504, allocations: 483.1 kB / 0.6652 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.848e-05/0.5505, allocations: 111.6 kB / 0.6653 GB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.5519, allocations: 320.5 kB / 0.6657 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.552, allocations: 136 kB / 0.6658 GB, free: 6.543 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002678/0.5523, allocations: 378 kB / 0.6661 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.5525, allocations: 227.3 kB / 0.6664 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.5527, allocations: 224.5 kB / 0.6666 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-05/0.5528, allocations: 180.2 kB / 0.6667 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.204e-05/0.5529, allocations: 176.3 kB / 0.6669 GB, free: 5.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.821e-05/0.5529, allocations: 192.2 kB / 0.6671 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.5545, allocations: 1.474 MB / 0.6685 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/0.5546, allocations: 101 kB / 0.6686 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.5546, allocations: 109.1 kB / 0.6687 GB, free: 3.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.745e-05/0.5547, allocations: 184.2 kB / 0.6689 GB, free: 3.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.5547, allocations: 188.2 kB / 0.6691 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.798e-05/0.5548, allocations: 180.3 kB / 0.6693 GB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-05/0.5549, allocations: 184.2 kB / 0.6694 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.5551, allocations: 425.4 kB / 0.6698 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.5554, allocations: 308.4 kB / 0.6701 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.5555, allocations: 188.2 kB / 0.6703 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.5558, allocations: 104.9 kB / 0.6704 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.5559, allocations: 180.3 kB / 0.6706 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.5559, allocations: 108.9 kB / 0.6707 GB, free: 1.277 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.5571, allocations: 0.9937 MB / 0.6717 GB, free: 292 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5571, allocations: 0 / 0.6717 GB, free: 292 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.001447/0.5586, allocations: 438.1 kB / 0.6721 GB, free: 15.86 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.5587, allocations: 178.5 kB / 0.6723 GB, free: 15.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.5598, allocations: 0.8801 MB / 0.6731 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5598, allocations: 0 / 0.6731 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.5598, allocations: 0 / 0.6731 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.5605, allocations: 0.6413 MB / 0.6737 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.5635, allocations: 2.08 MB / 0.6758 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.5648, allocations: 1.615 MB / 0.6773 GB, free: 10.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.5659, allocations: 491.1 kB / 0.6778 GB, free: 9.902 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.566, allocations: 75.44 kB / 0.6779 GB, free: 9.828 MB / 474.7 MB Notification: Performance of SimCode: time 1.963e-06/0.566, allocations: 4 kB / 0.6779 GB, free: 9.824 MB / 474.7 MB Notification: Performance of Templates: time 0.01528/0.5813, allocations: 7.934 MB / 0.6856 GB, free: 1.914 MB / 474.7 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches