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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 200.1 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009126/0.0009124, allocations: 99.44 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1734/0.1734, allocations: 45.15 MB / 383.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.111e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09175, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/0.3899, allocations: 94.92 MB / 0.5965 GB, free: 8.168 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.3902, allocations: 77.03 kB / 0.5965 GB, free: 8.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06259/0.4528, allocations: 26.9 MB / 0.6228 GB, free: 1.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.757e-05/0.4529, allocations: 32 kB / 0.6228 GB, free: 1.238 MB / 410.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.002319/0.4552, allocations: 1.617 MB / 0.6244 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4553, allocations: 12.03 kB / 0.6244 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008008/0.4561, allocations: 253.1 kB / 0.6247 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.4574, allocations: 0.8489 MB / 0.6255 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.4574, allocations: 60 kB / 0.6256 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.4576, allocations: 108 kB / 0.6257 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00225/0.4599, allocations: 1.736 MB / 0.6274 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.4634, allocations: 3.098 MB / 0.6304 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.4634, allocations: 19.81 kB / 0.6304 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.4636, allocations: 12 kB / 0.6304 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002892/0.4639, allocations: 357.4 kB / 0.6307 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.4746, allocations: 14.56 MB / 0.645 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.4747, allocations: 165.1 kB / 0.6451 GB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.4748, allocations: 83.58 kB / 0.6452 GB, free: 12.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4748, allocations: 83.22 kB / 0.6453 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.4748, allocations: 105.8 kB / 0.6454 GB, free: 12.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/0.4748, allocations: 4 kB / 0.6454 GB, free: 12.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002277/0.4751, allocations: 128.3 kB / 0.6455 GB, free: 11.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.4751, allocations: 55.41 kB / 0.6456 GB, free: 11.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.4763, allocations: 1.138 MB / 0.6467 GB, free: 10.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.4763, allocations: 25.7 kB / 0.6467 GB, free: 10.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006854/0.477, allocations: 1.335 MB / 0.648 GB, free: 9.727 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.4771, allocations: 48.45 kB / 0.6481 GB, free: 9.695 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4771, allocations: 0 / 0.6481 GB, free: 9.695 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4773, allocations: 423.9 kB / 0.6485 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.4777, allocations: 324.7 kB / 0.6488 GB, free: 9.086 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.4789, allocations: 1.87 MB / 0.6506 GB, free: 6.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.4797, allocations: 0.7421 MB / 0.6513 GB, free: 5.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.4798, allocations: 16 kB / 0.6513 GB, free: 5.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002301/0.4821, allocations: 1.725 MB / 0.653 GB, free: 4.453 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4821, allocations: 11.91 kB / 0.653 GB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.534e-05/0.4821, allocations: 56 kB / 0.6531 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.4823, allocations: 80 kB / 0.6532 GB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4834, allocations: 493.9 kB / 0.6536 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.138e-05/0.4835, allocations: 107.6 kB / 0.6537 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4846, allocations: 252.9 kB / 0.654 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4848, allocations: 138.4 kB / 0.6541 GB, free: 3.367 MB / 442.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 () * 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.0002214/0.485, allocations: 332.1 kB / 0.6544 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4851, allocations: 207.6 kB / 0.6546 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.4853, allocations: 208 kB / 0.6548 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/0.4854, allocations: 176.3 kB / 0.655 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-05/0.4854, allocations: 195.7 kB / 0.6552 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/0.4855, allocations: 176.3 kB / 0.6553 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.4866, allocations: 1.013 MB / 0.6563 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/0.4867, allocations: 109 kB / 0.6564 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.4867, allocations: 105 kB / 0.6565 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.58e-05/0.4867, allocations: 180.3 kB / 0.6567 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.4868, allocations: 184.2 kB / 0.6569 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-05/0.4869, allocations: 176.3 kB / 0.6571 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.894e-05/0.4869, allocations: 183.4 kB / 0.6572 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000181/0.4871, allocations: 412.2 kB / 0.6576 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.4873, allocations: 264.4 kB / 0.6579 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.4874, allocations: 180.2 kB / 0.658 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.4877, allocations: 107.8 kB / 0.6581 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.4878, allocations: 180.2 kB / 0.6583 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.4878, allocations: 104.9 kB / 0.6584 GB, free: 14.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007441/0.4886, allocations: 0.7465 MB / 0.6591 GB, free: 14.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001523/0.4901, allocations: 417.7 kB / 0.6595 GB, free: 14 MB / 458.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 () * 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.000184/0.4903, allocations: 174.5 kB / 0.6597 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009227/0.4912, allocations: 0.7932 MB / 0.6605 GB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4912, allocations: 0 / 0.6605 GB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.4912, allocations: 4 kB / 0.6605 GB, free: 13.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.4917, allocations: 0.6072 MB / 0.6611 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.4951, allocations: 2.069 MB / 0.6631 GB, free: 10.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.4965, allocations: 1.703 MB / 0.6648 GB, free: 8.773 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4965, allocations: 0 / 0.6648 GB, free: 8.773 MB / 458.7 MB Notification: Performance of Templates: time 0.01622/0.5127, allocations: 6.301 MB / 0.6709 GB, free: 2.484 MB / 458.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/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