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.00173/0.00173, allocations: 197.4 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008052/0.0008054, allocations: 101.6 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.353/0.353, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.363, allocations: 62.96 MB / 0.5184 GB, free: 37.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4973, allocations: 95.64 MB / 0.6118 GB, free: 9.637 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4976, allocations: 79.95 kB / 0.6119 GB, free: 9.562 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0664/0.564, allocations: 27.89 MB / 0.6391 GB, free: 13.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5641, allocations: 0 / 0.6391 GB, free: 13.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.715e-05/0.5641, allocations: 36 kB / 0.6392 GB, free: 13.39 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.002834/0.567, allocations: 1.636 MB / 0.6408 GB, free: 11.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.567, allocations: 12.03 kB / 0.6408 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007889/0.5678, allocations: 266 kB / 0.641 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.5692, allocations: 0.8513 MB / 0.6419 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5694, allocations: 152.1 kB / 0.642 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.5696, allocations: 192.3 kB / 0.6422 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004301/0.5739, allocations: 3.373 MB / 0.6455 GB, free: 6.434 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.574, allocations: 20 kB / 0.6455 GB, free: 6.414 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.5742, allocations: 91.89 kB / 0.6456 GB, free: 6.324 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003766/0.5745, allocations: 332.1 kB / 0.6459 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.5776, allocations: 1.873 MB / 0.6477 GB, free: 4.129 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.5909, allocations: 15.23 MB / 0.6626 GB, free: 4.398 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.5911, allocations: 169.1 kB / 0.6628 GB, free: 4.223 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.5911, allocations: 84.14 kB / 0.6628 GB, free: 4.137 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.5912, allocations: 75.28 kB / 0.6629 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.5912, allocations: 109.8 kB / 0.663 GB, free: 3.945 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 2.655e-06/0.5912, allocations: 4 kB / 0.663 GB, free: 3.941 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002541/0.5915, allocations: 156 kB / 0.6632 GB, free: 3.781 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.5916, allocations: 126.7 kB / 0.6633 GB, free: 3.645 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.5935, allocations: 1.647 MB / 0.6649 GB, free: 1.988 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.5935, allocations: 25.7 kB / 0.6649 GB, free: 1.957 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008426/0.5943, allocations: 1.359 MB / 0.6663 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5944, allocations: 43.95 kB / 0.6663 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.5944, allocations: 40 kB / 0.6663 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.5947, allocations: 446.7 kB / 0.6668 GB, free: 48 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.5952, allocations: 363.9 kB / 0.6671 GB, free: 15.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.5967, allocations: 1.921 MB / 0.669 GB, free: 12.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.599, allocations: 2.503 MB / 0.6714 GB, free: 9.641 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/0.599, allocations: 20 kB / 0.6714 GB, free: 9.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003141/0.6022, allocations: 2.095 MB / 0.6735 GB, free: 7.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.6022, allocations: 31.98 kB / 0.6735 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.337e-05/0.6023, allocations: 60 kB / 0.6736 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.289e-05/0.6024, allocations: 75.94 kB / 0.6737 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.6035, allocations: 483.1 kB / 0.6741 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.787e-05/0.6036, allocations: 119.5 kB / 0.6742 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.6049, allocations: 317.1 kB / 0.6745 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.6051, allocations: 148 kB / 0.6747 GB, free: 6.309 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.001297/0.6064, allocations: 0.8589 MB / 0.6755 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.6066, allocations: 223.4 kB / 0.6757 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.6068, allocations: 240.4 kB / 0.676 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.229e-05/0.6069, allocations: 176.3 kB / 0.6761 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.736e-05/0.607, allocations: 180.2 kB / 0.6763 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-05/0.607, allocations: 180.3 kB / 0.6765 GB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.609, allocations: 1.477 MB / 0.6779 GB, free: 2.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.702e-05/0.609, allocations: 108.9 kB / 0.678 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.6091, allocations: 101.1 kB / 0.6781 GB, free: 2.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.6092, allocations: 184.2 kB / 0.6783 GB, free: 2.473 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.481e-05/0.6093, allocations: 188.2 kB / 0.6785 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.321e-05/0.6094, allocations: 180.3 kB / 0.6786 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.888e-05/0.6095, allocations: 180.2 kB / 0.6788 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.6098, allocations: 429.3 kB / 0.6792 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.6101, allocations: 300.5 kB / 0.6795 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.6103, allocations: 184.2 kB / 0.6797 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.6106, allocations: 112.9 kB / 0.6798 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.6107, allocations: 188.2 kB / 0.68 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.6108, allocations: 104.9 kB / 0.6801 GB, free: 0.543 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.2872/0.8981, allocations: 1.001 MB / 0.681 GB, free: 118.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.8981, allocations: 2.375 kB / 0.681 GB, free: 118.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002759/0.9009, allocations: 434.7 kB / 0.6815 GB, free: 118.4 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.0001662/0.9011, allocations: 171.7 kB / 0.6816 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.9027, allocations: 0.8943 MB / 0.6825 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9028, allocations: 0 / 0.6825 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/0.9028, allocations: 3.375 kB / 0.6825 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.9038, allocations: 0.6404 MB / 0.6831 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.9084, allocations: 3.406 MB / 0.6865 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.9095, allocations: 1.578 MB / 0.688 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001161/0.9107, allocations: 491.1 kB / 0.6885 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.9108, allocations: 77.62 kB / 0.6885 GB, free: 115.3 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.9108, allocations: 0 / 0.6885 GB, free: 115.3 MB / 490.7 MB Notification: Performance of Templates: time 0.01687/0.9277, allocations: 7.96 MB / 0.6963 GB, free: 114.9 MB / 490.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/jenkins1/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