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.001407/0.001407, allocations: 108.2 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.89 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1449, allocations: 62.44 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3035/0.4484, allocations: 39.95 MB / 0.5073 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4644, allocations: 7.219 MB / 0.5143 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008728/0.4732, allocations: 162.1 kB / 0.5145 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.4766, allocations: 1.494 MB / 0.5159 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.4781, allocations: 419.1 kB / 0.5163 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.4785, allocations: 63.75 kB / 0.5164 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.48, allocations: 0.9412 MB / 0.5173 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.4822, allocations: 1.597 MB / 0.5189 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.483, allocations: 0.5383 MB / 0.5194 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008987/0.4839, allocations: 0.7505 MB / 0.5201 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.4841, allocations: 118.9 kB / 0.5202 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.4844, allocations: 127.8 kB / 0.5203 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007504/0.4852, allocations: 0.7367 MB / 0.5211 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006953/0.4859, allocations: 0.8585 MB / 0.5219 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.4882, allocations: 2.229 MB / 0.5241 GB, free: 6.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4882, allocations: 3.938 kB / 0.5241 GB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4882, allocations: 0 / 0.5241 GB, free: 6.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.334e-05/0.4883, allocations: 1.062 kB / 0.5241 GB, free: 6.492 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.002535/0.4908, allocations: 1.947 MB / 0.526 GB, free: 5.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4909, allocations: 9.594 kB / 0.526 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005701/0.4915, allocations: 211.2 kB / 0.5262 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.4925, allocations: 0.7181 MB / 0.5269 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.4926, allocations: 115.1 kB / 0.527 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.4928, allocations: 150.8 kB / 0.5272 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004263/0.497, allocations: 3.378 MB / 0.5305 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/0.4971, allocations: 25.05 kB / 0.5305 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.4973, allocations: 71.88 kB / 0.5305 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007349/0.498, allocations: 0.6152 MB / 0.5311 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003241/0.5012, allocations: 1.862 MB / 0.533 GB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.5135, allocations: 13.52 MB / 0.5462 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.5137, allocations: 169.1 kB / 0.5463 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.5137, allocations: 90.53 kB / 0.5464 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.5138, allocations: 75.28 kB / 0.5465 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.5138, allocations: 113.7 kB / 0.5466 GB, free: 5.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 3.165e-06/0.5138, allocations: 0 / 0.5466 GB, free: 5.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.000269/0.5141, allocations: 151.6 kB / 0.5467 GB, free: 5.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.5142, allocations: 130.7 kB / 0.5469 GB, free: 5.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.5161, allocations: 1.649 MB / 0.5485 GB, free: 4.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5162, allocations: 25.7 kB / 0.5485 GB, free: 4.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.5172, allocations: 1.355 MB / 0.5498 GB, free: 3.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.5172, allocations: 45.14 kB / 0.5499 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004473/0.5177, allocations: 421.8 kB / 0.5503 GB, free: 2.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5178, allocations: 355.2 kB / 0.5506 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.5183, allocations: 376 kB / 0.551 GB, free: 2.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.52, allocations: 1.935 MB / 0.5529 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/0.5226, allocations: 2.503 MB / 0.5553 GB, free: 13.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/0.5226, allocations: 15.06 kB / 0.5553 GB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003285/0.5259, allocations: 2.122 MB / 0.5574 GB, free: 11.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.526, allocations: 28 kB / 0.5574 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.888e-05/0.526, allocations: 56 kB / 0.5575 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-05/0.5261, allocations: 79.94 kB / 0.5575 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.5272, allocations: 487 kB / 0.558 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.58e-05/0.5273, allocations: 115.5 kB / 0.5581 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.5289, allocations: 316.5 kB / 0.5584 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.529, allocations: 136.3 kB / 0.5585 GB, free: 9.953 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.001296/0.5303, allocations: 0.8628 MB / 0.5594 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5305, allocations: 231.3 kB / 0.5596 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.5307, allocations: 224.5 kB / 0.5598 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.554e-05/0.5308, allocations: 184.3 kB / 0.56 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.015e-05/0.5309, allocations: 188.1 kB / 0.5602 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.131e-05/0.531, allocations: 176.3 kB / 0.5603 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.5328, allocations: 1.477 MB / 0.5618 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/0.5329, allocations: 105 kB / 0.5619 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.5329, allocations: 116.9 kB / 0.562 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.533, allocations: 180.2 kB / 0.5622 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.5331, allocations: 176.3 kB / 0.5623 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-05/0.5332, allocations: 180.2 kB / 0.5625 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.471e-05/0.5332, allocations: 180.3 kB / 0.5627 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.5335, allocations: 433.2 kB / 0.5631 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.5338, allocations: 300.4 kB / 0.5634 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.534, allocations: 181.8 kB / 0.5636 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.5343, allocations: 101 kB / 0.5637 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.5344, allocations: 180.3 kB / 0.5638 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.5345, allocations: 108.9 kB / 0.5639 GB, free: 4.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001327/0.5358, allocations: 1.018 MB / 0.5649 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5358, allocations: 0 / 0.5649 GB, free: 3.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001833/0.5376, allocations: 430.1 kB / 0.5653 GB, free: 2.766 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.0002059/0.5378, allocations: 166.5 kB / 0.5655 GB, free: 2.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.5391, allocations: 0.8999 MB / 0.5664 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5391, allocations: 4.062 kB / 0.5664 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.5391, allocations: 4 kB / 0.5664 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.54, allocations: 0.579 MB / 0.5669 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.5447, allocations: 3.579 MB / 0.5704 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.5461, allocations: 1.572 MB / 0.572 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001192/0.5473, allocations: 499.2 kB / 0.5725 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5474, allocations: 79.44 kB / 0.5725 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5474, allocations: 0 / 0.5725 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Templates: time 0.01748/0.5649, allocations: 8.34 MB / 0.5807 GB, free: 3.07 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