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.001064/0.001064, allocations: 96.94 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 207.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 12 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 63.46 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03194/0.1816, allocations: 34.45 MB / 0.5037 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3246/0.5063, allocations: 7.398 MB / 0.511 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008538/0.5149, allocations: 160.4 kB / 0.5111 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007221/0.5222, allocations: 1.707 MB / 0.5128 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01885/0.541, allocations: 4.838 MB / 0.5175 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.5431, allocations: 105.3 kB / 0.5176 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.5449, allocations: 0.6006 MB / 0.5182 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003067/0.548, allocations: 1.725 MB / 0.5199 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008184/0.5489, allocations: 305.6 kB / 0.5202 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009194/0.5498, allocations: 342.4 kB / 0.5205 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.5501, allocations: 48.53 kB / 0.5205 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.5506, allocations: 40 kB / 0.5206 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008871/0.5515, allocations: 0.5869 MB / 0.5212 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007853/0.5523, allocations: 340.4 kB / 0.5215 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.5549, allocations: 1.772 MB / 0.5232 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5549, allocations: 0 / 0.5232 GB, free: 8.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5549, allocations: 2.719 kB / 0.5232 GB, free: 8.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.544e-05/0.555, allocations: 0 / 0.5232 GB, free: 8.859 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.002457/0.5575, allocations: 1.639 MB / 0.5248 GB, free: 7.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.5575, allocations: 9.625 kB / 0.5248 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.5581, allocations: 214.3 kB / 0.525 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.5593, allocations: 0.7112 MB / 0.5257 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.5594, allocations: 114.8 kB / 0.5258 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.5596, allocations: 148.8 kB / 0.526 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.5639, allocations: 3.353 MB / 0.5293 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.564, allocations: 14.5 kB / 0.5293 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.5641, allocations: 76.59 kB / 0.5293 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007832/0.5649, allocations: 0.6188 MB / 0.5299 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/0.5678, allocations: 1.839 MB / 0.5317 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.58, allocations: 13.52 MB / 0.5449 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.5801, allocations: 175.2 kB / 0.5451 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.5802, allocations: 75.28 kB / 0.5452 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.5802, allocations: 107.3 kB / 0.5453 GB, free: 10.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/0.5802, allocations: 1.641 kB / 0.5453 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002518/0.5805, allocations: 152.4 kB / 0.5454 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.5806, allocations: 129 kB / 0.5456 GB, free: 10.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.5824, allocations: 1.641 MB / 0.5472 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5824, allocations: 29.64 kB / 0.5472 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007992/0.5832, allocations: 1.357 MB / 0.5485 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.5833, allocations: 45.92 kB / 0.5486 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.5833, allocations: 42.56 kB / 0.5486 GB, free: 8.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.5836, allocations: 447.7 kB / 0.549 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.584, allocations: 363.3 kB / 0.5494 GB, free: 8.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.5854, allocations: 1.913 MB / 0.5512 GB, free: 6.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009089/0.5864, allocations: 0.7718 MB / 0.552 GB, free: 5.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-05/0.5864, allocations: 17.19 kB / 0.552 GB, free: 5.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003015/0.5894, allocations: 2.105 MB / 0.5541 GB, free: 5.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.5895, allocations: 29.5 kB / 0.5541 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.283e-05/0.5895, allocations: 62.77 kB / 0.5541 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.083e-05/0.5896, allocations: 80.56 kB / 0.5542 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.5908, allocations: 485.6 kB / 0.5547 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.077e-05/0.5908, allocations: 113.3 kB / 0.5548 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.5924, allocations: 322.9 kB / 0.5551 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.5925, allocations: 137.9 kB / 0.5552 GB, free: 4.719 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001284/0.5938, allocations: 0.8725 MB / 0.5561 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.594, allocations: 225.1 kB / 0.5563 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.5942, allocations: 236 kB / 0.5565 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.705e-05/0.5943, allocations: 176.3 kB / 0.5567 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-05/0.5943, allocations: 184.2 kB / 0.5569 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-05/0.5944, allocations: 176.3 kB / 0.557 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.5961, allocations: 1.478 MB / 0.5585 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/0.5961, allocations: 108.9 kB / 0.5586 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.5962, allocations: 108.4 kB / 0.5587 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.08e-05/0.5962, allocations: 184.2 kB / 0.5589 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.5963, allocations: 184.2 kB / 0.559 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.209e-05/0.5964, allocations: 180.2 kB / 0.5592 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-05/0.5964, allocations: 180.2 kB / 0.5594 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.5966, allocations: 432.3 kB / 0.5598 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.597, allocations: 297.6 kB / 0.5601 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.5971, allocations: 180.8 kB / 0.5603 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.5974, allocations: 108.9 kB / 0.5604 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.5975, allocations: 184 kB / 0.5605 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.5975, allocations: 104.9 kB / 0.5606 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001166/0.5987, allocations: 1.009 MB / 0.5616 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5987, allocations: 0 / 0.5616 GB, free: 14.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001704/0.6004, allocations: 434.8 kB / 0.562 GB, free: 14.39 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 (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.0001604/0.6006, allocations: 166.5 kB / 0.5622 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.6018, allocations: 0.8929 MB / 0.5631 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6018, allocations: 4.312 kB / 0.5631 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.6018, allocations: 4 kB / 0.5631 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.6025, allocations: 0.6395 MB / 0.5637 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.6068, allocations: 3.39 MB / 0.567 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.608, allocations: 1.615 MB / 0.5686 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.6092, allocations: 495.4 kB / 0.5691 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.6093, allocations: 71.44 kB / 0.5691 GB, free: 7.613 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6093, allocations: 11.94 kB / 0.5691 GB, free: 7.602 MB / 414.1 MB Notification: Performance of Templates: time 0.01616/0.6254, allocations: 7.913 MB / 0.5769 GB, free: 15.76 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches