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.0008587/0.0008589, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1117, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2663/0.378, allocations: 38.84 MB / 0.5103 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.3944, allocations: 7.225 MB / 0.5174 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007966/0.4024, allocations: 160.5 kB / 0.5175 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008888/0.4033, allocations: 189 kB / 0.5177 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.4047, allocations: 433.7 kB / 0.5181 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.405, allocations: 72.12 kB / 0.5182 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.4072, allocations: 1.603 MB / 0.5198 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.41, allocations: 1.886 MB / 0.5216 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007174/0.4107, allocations: 364.9 kB / 0.5219 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009336/0.4117, allocations: 0.5546 MB / 0.5225 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.4118, allocations: 44.91 kB / 0.5225 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.4121, allocations: 56.16 kB / 0.5226 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007023/0.4128, allocations: 0.6472 MB / 0.5232 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.4134, allocations: 0.7595 MB / 0.524 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.4153, allocations: 1.757 MB / 0.5257 GB, free: 7.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4153, allocations: 0 / 0.5257 GB, free: 7.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4153, allocations: 0 / 0.5257 GB, free: 7.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.812e-05/0.4154, allocations: 1.031 kB / 0.5257 GB, free: 7.793 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.002199/0.4176, allocations: 1.599 MB / 0.5272 GB, free: 6.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4176, allocations: 12.06 kB / 0.5272 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005231/0.4182, allocations: 214.7 kB / 0.5275 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009199/0.4191, allocations: 0.7116 MB / 0.5281 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.4192, allocations: 117.5 kB / 0.5283 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.4194, allocations: 150.9 kB / 0.5284 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/0.4233, allocations: 3.378 MB / 0.5317 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.4234, allocations: 18.03 kB / 0.5317 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.4235, allocations: 75.03 kB / 0.5318 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006677/0.4242, allocations: 0.6143 MB / 0.5324 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.4269, allocations: 1.854 MB / 0.5342 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.4389, allocations: 13.53 MB / 0.5474 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.885e-05/0.4391, allocations: 171 kB / 0.5476 GB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.4391, allocations: 84.14 kB / 0.5477 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4391, allocations: 75.28 kB / 0.5477 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/0.4392, allocations: 120.4 kB / 0.5478 GB, free: 6.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.4392, allocations: 3.938 kB / 0.5478 GB, free: 6.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002814/0.4395, allocations: 149.8 kB / 0.548 GB, free: 6.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.4396, allocations: 129.1 kB / 0.5481 GB, free: 6.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.4417, allocations: 1.648 MB / 0.5497 GB, free: 5.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.4417, allocations: 25.7 kB / 0.5497 GB, free: 5.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009288/0.4426, allocations: 1.362 MB / 0.5511 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.4427, allocations: 45.77 kB / 0.5511 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.4429, allocations: 184.8 kB / 0.5513 GB, free: 4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4431, allocations: 354.3 kB / 0.5516 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.4436, allocations: 374.5 kB / 0.552 GB, free: 3.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.4453, allocations: 1.931 MB / 0.5539 GB, free: 1.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.4476, allocations: 2.504 MB / 0.5563 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/0.4476, allocations: 20.88 kB / 0.5563 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002842/0.4505, allocations: 2.117 MB / 0.5584 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.4505, allocations: 28 kB / 0.5584 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/0.4506, allocations: 57.94 kB / 0.5585 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.799e-05/0.4507, allocations: 76 kB / 0.5586 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.4517, allocations: 491 kB / 0.559 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.381e-05/0.4518, allocations: 111.6 kB / 0.5591 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4531, allocations: 313 kB / 0.5594 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4533, allocations: 140 kB / 0.5596 GB, free: 11.72 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.001178/0.4544, allocations: 0.8589 MB / 0.5604 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4546, allocations: 231.3 kB / 0.5606 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.4548, allocations: 232.5 kB / 0.5609 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.4549, allocations: 184.2 kB / 0.561 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.575e-05/0.4549, allocations: 184.2 kB / 0.5612 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.122e-05/0.455, allocations: 176.3 kB / 0.5614 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.4565, allocations: 1.473 MB / 0.5628 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.4565, allocations: 109 kB / 0.5629 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.4565, allocations: 108.9 kB / 0.563 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.442e-05/0.4566, allocations: 188.1 kB / 0.5632 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.4567, allocations: 177.1 kB / 0.5634 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.304e-05/0.4567, allocations: 184.2 kB / 0.5635 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.254e-05/0.4568, allocations: 184.2 kB / 0.5637 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.457, allocations: 425.2 kB / 0.5641 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.4572, allocations: 300.4 kB / 0.5644 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.4574, allocations: 184.2 kB / 0.5646 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.4577, allocations: 105 kB / 0.5647 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.4577, allocations: 181.1 kB / 0.5649 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.4578, allocations: 109.2 kB / 0.565 GB, free: 5.961 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.4589, allocations: 1.01 MB / 0.566 GB, free: 4.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4589, allocations: 0 / 0.566 GB, free: 4.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001496/0.4604, allocations: 434.1 kB / 0.5664 GB, free: 4.527 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.0001464/0.4606, allocations: 167.1 kB / 0.5665 GB, free: 4.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4617, allocations: 0.9075 MB / 0.5674 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4617, allocations: 0 / 0.5674 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.4617, allocations: 7.953 kB / 0.5674 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.4625, allocations: 0.6387 MB / 0.568 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.467, allocations: 3.772 MB / 0.5717 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.4683, allocations: 1.572 MB / 0.5733 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.4684, allocations: 95.38 kB / 0.5734 GB, free: 13.3 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4684, allocations: 0 / 0.5734 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Templates: time 0.0234/0.4918, allocations: 17.38 MB / 0.5903 GB, free: 11.93 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches