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.001002/0.001002, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007883/0.0007884, allocations: 100 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1974/0.1974, allocations: 45.16 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.343e-05/1.346e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 63.24 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5309, allocations: 95 MB / 0.5971 GB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.5311, allocations: 72.78 kB / 0.5972 GB, free: 7.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06113/0.5923, allocations: 27.36 MB / 0.6239 GB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5923, allocations: 0 / 0.6239 GB, free: 444 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.976e-05/0.5924, allocations: 36 kB / 0.624 GB, free: 408 kB / 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.001948/0.5943, allocations: 1.578 MB / 0.6255 GB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5944, allocations: 8.031 kB / 0.6255 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.5951, allocations: 269.1 kB / 0.6258 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.5963, allocations: 0.8443 MB / 0.6266 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.5964, allocations: 60 kB / 0.6266 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.5966, allocations: 108 kB / 0.6267 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002098/0.5987, allocations: 1.699 MB / 0.6284 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.6021, allocations: 3.055 MB / 0.6314 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.6022, allocations: 19.81 kB / 0.6314 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.6023, allocations: 12 kB / 0.6314 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003433/0.6027, allocations: 334.7 kB / 0.6317 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009989/0.6127, allocations: 14.53 MB / 0.6459 GB, free: 11.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/0.6128, allocations: 168.6 kB / 0.6461 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.6128, allocations: 88.03 kB / 0.6462 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.6129, allocations: 75.28 kB / 0.6462 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.6129, allocations: 117.8 kB / 0.6464 GB, free: 11.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/0.6129, allocations: 0 / 0.6464 GB, free: 11.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002097/0.6131, allocations: 124.4 kB / 0.6465 GB, free: 11.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.6132, allocations: 51.41 kB / 0.6465 GB, free: 11.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.6143, allocations: 1.121 MB / 0.6476 GB, free: 10.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.6143, allocations: 25.7 kB / 0.6476 GB, free: 10.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007103/0.615, allocations: 1.385 MB / 0.649 GB, free: 9.082 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.6151, allocations: 50.08 kB / 0.649 GB, free: 9.047 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.6151, allocations: 0 / 0.649 GB, free: 9.047 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6153, allocations: 420.9 kB / 0.6494 GB, free: 8.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.6157, allocations: 316 kB / 0.6497 GB, free: 8.453 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.617, allocations: 1.852 MB / 0.6516 GB, free: 5.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.6178, allocations: 0.7265 MB / 0.6523 GB, free: 5.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/0.6178, allocations: 19.94 kB / 0.6523 GB, free: 5.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00243/0.6203, allocations: 1.726 MB / 0.654 GB, free: 3.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.6203, allocations: 31.95 kB / 0.654 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.7e-05/0.6204, allocations: 56 kB / 0.654 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.98e-05/0.6205, allocations: 87.98 kB / 0.6541 GB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.6216, allocations: 487.4 kB / 0.6546 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.382e-05/0.6217, allocations: 111.6 kB / 0.6547 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.6228, allocations: 253.4 kB / 0.6549 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.6229, allocations: 141.2 kB / 0.6551 GB, free: 2.734 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.0002337/0.6232, allocations: 334.4 kB / 0.6554 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6233, allocations: 203.6 kB / 0.6556 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.6235, allocations: 215.6 kB / 0.6558 GB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.524e-05/0.6235, allocations: 176.3 kB / 0.656 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-05/0.6236, allocations: 188 kB / 0.6561 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.866e-05/0.6237, allocations: 180.2 kB / 0.6563 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6248, allocations: 1.011 MB / 0.6573 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/0.6248, allocations: 110.5 kB / 0.6574 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.6249, allocations: 101 kB / 0.6575 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.589e-05/0.6249, allocations: 180.4 kB / 0.6577 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.625, allocations: 184.2 kB / 0.6579 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.757e-05/0.6251, allocations: 181.7 kB / 0.658 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.115e-05/0.6251, allocations: 180.2 kB / 0.6582 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.6253, allocations: 411 kB / 0.6586 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.6255, allocations: 267.7 kB / 0.6588 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.6257, allocations: 184.2 kB / 0.659 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.6259, allocations: 102.4 kB / 0.6591 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.626, allocations: 188.3 kB / 0.6593 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.626, allocations: 112.8 kB / 0.6594 GB, free: 14.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007553/0.6268, allocations: 0.7212 MB / 0.6601 GB, free: 13.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6268, allocations: 0 / 0.6601 GB, free: 13.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001382/0.6282, allocations: 413.7 kB / 0.6605 GB, free: 13.36 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.000171/0.6284, allocations: 182.5 kB / 0.6607 GB, free: 13.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009636/0.6293, allocations: 0.7671 MB / 0.6614 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6293, allocations: 0 / 0.6614 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.6294, allocations: 0 / 0.6614 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.6298, allocations: 0.608 MB / 0.662 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.6327, allocations: 2.051 MB / 0.664 GB, free: 9.715 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.634, allocations: 1.618 MB / 0.6656 GB, free: 8.062 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.6351, allocations: 461.6 kB / 0.666 GB, free: 7.609 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.6352, allocations: 67.44 kB / 0.6661 GB, free: 7.543 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6352, allocations: 0 / 0.6661 GB, free: 7.543 MB / 458.7 MB Notification: Performance of Templates: time 0.01183/0.647, allocations: 5.711 MB / 0.6717 GB, free: 1.848 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