Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009518/0.0009518, allocations: 195.4 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 244.1 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007841/0.0007842, allocations: 97.69 kB / 296.1 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3165/0.3165, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002487/0.0002487, allocations: 8 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2911, allocations: 62.94 MB / 0.5165 GB, free: 37.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4064, allocations: 95.64 MB / 0.6099 GB, free: 9.762 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4067, allocations: 75.95 kB / 0.6099 GB, free: 9.688 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06481/0.4715, allocations: 27.9 MB / 0.6372 GB, free: 13.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4715, allocations: 0 / 0.6372 GB, free: 13.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.012e-05/0.4716, allocations: 36 kB / 0.6372 GB, free: 13.52 MB / 458.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.00313/0.4748, allocations: 1.636 MB / 0.6388 GB, free: 11.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4748, allocations: 12.03 kB / 0.6388 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.4758, allocations: 266 kB / 0.6391 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.4773, allocations: 0.8592 MB / 0.6399 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4774, allocations: 152 kB / 0.6401 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.4778, allocations: 184.3 kB / 0.6402 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004837/0.4826, allocations: 3.377 MB / 0.6435 GB, free: 6.551 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.09e-05/0.4827, allocations: 20 kB / 0.6436 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/0.483, allocations: 87.89 kB / 0.6436 GB, free: 6.445 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003881/0.4834, allocations: 336.1 kB / 0.644 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.4863, allocations: 1.876 MB / 0.6458 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.4989, allocations: 15.22 MB / 0.6607 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.499, allocations: 165.1 kB / 0.6608 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.499, allocations: 84.14 kB / 0.6609 GB, free: 4.262 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.4991, allocations: 75.28 kB / 0.661 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.4991, allocations: 109.8 kB / 0.6611 GB, free: 4.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 2.435e-06/0.4991, allocations: 4 kB / 0.6611 GB, free: 4.066 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002424/0.4994, allocations: 156 kB / 0.6612 GB, free: 3.906 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4994, allocations: 126.7 kB / 0.6613 GB, free: 3.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.5012, allocations: 1.647 MB / 0.663 GB, free: 2.113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5013, allocations: 25.7 kB / 0.663 GB, free: 2.082 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007695/0.502, allocations: 1.359 MB / 0.6643 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.5021, allocations: 43.95 kB / 0.6643 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.5022, allocations: 40 kB / 0.6644 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5024, allocations: 442.7 kB / 0.6648 GB, free: 180 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.5028, allocations: 363.9 kB / 0.6652 GB, free: 15.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5041, allocations: 1.925 MB / 0.667 GB, free: 13.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.5062, allocations: 2.503 MB / 0.6695 GB, free: 9.766 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-05/0.5063, allocations: 20 kB / 0.6695 GB, free: 9.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002866/0.5092, allocations: 2.095 MB / 0.6715 GB, free: 7.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.5092, allocations: 28 kB / 0.6716 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/0.5093, allocations: 60 kB / 0.6716 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.745e-05/0.5093, allocations: 75.94 kB / 0.6717 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5104, allocations: 487 kB / 0.6722 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.558e-05/0.5105, allocations: 120 kB / 0.6723 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.5117, allocations: 320.5 kB / 0.6726 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.5118, allocations: 144 kB / 0.6727 GB, free: 6.434 MB / 490.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 () * 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.001078/0.5129, allocations: 0.8627 MB / 0.6736 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.5131, allocations: 223.4 kB / 0.6738 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.5132, allocations: 236.4 kB / 0.674 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-05/0.5133, allocations: 180.2 kB / 0.6742 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.171e-05/0.5134, allocations: 180.2 kB / 0.6743 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/0.5134, allocations: 176.3 kB / 0.6745 GB, free: 4.539 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.5149, allocations: 1.477 MB / 0.676 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/0.5149, allocations: 112.9 kB / 0.6761 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.515, allocations: 101.1 kB / 0.6762 GB, free: 2.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.956e-05/0.515, allocations: 184.2 kB / 0.6763 GB, free: 2.594 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.5151, allocations: 184.2 kB / 0.6765 GB, free: 2.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.942e-05/0.5151, allocations: 180.2 kB / 0.6767 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.632e-05/0.5152, allocations: 180.2 kB / 0.6769 GB, free: 2.039 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.5154, allocations: 433.3 kB / 0.6773 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.5156, allocations: 300.5 kB / 0.6776 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5158, allocations: 184.1 kB / 0.6777 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.516, allocations: 108.9 kB / 0.6778 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.5161, allocations: 188.3 kB / 0.678 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.5161, allocations: 104.9 kB / 0.6781 GB, free: 0.668 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.2137/0.7298, allocations: 0.9998 MB / 0.6791 GB, free: 117.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7298, allocations: 0 / 0.6791 GB, free: 117.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002391/0.7322, allocations: 431.6 kB / 0.6795 GB, free: 117.7 MB / 490.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 () * 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.0001644/0.7324, allocations: 174.2 kB / 0.6797 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.7341, allocations: 0.8946 MB / 0.6805 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.7341, allocations: 0 / 0.6805 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.7341, allocations: 5.156 kB / 0.6805 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.735, allocations: 0.6391 MB / 0.6812 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.7391, allocations: 3.594 MB / 0.6847 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/0.7401, allocations: 1.574 MB / 0.6862 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.7403, allocations: 87.81 kB / 0.6863 GB, free: 114.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7403, allocations: 0 / 0.6863 GB, free: 114.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02659/0.7669, allocations: 17.42 MB / 0.7033 GB, free: 113.4 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches