Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 169.9 kB / 8.74 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 93.39 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.287e-05, allocations: 0 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1456, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5573, allocations: 93.94 MB / 0.5864 GB, free: 2.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.5575, allocations: 71.97 kB / 0.5865 GB, free: 2.488 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06192/0.6194, allocations: 27.31 MB / 0.6131 GB, free: 6.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6195, allocations: 4 kB / 0.6131 GB, free: 6.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.422e-05/0.6195, allocations: 32 kB / 0.6132 GB, free: 6.895 MB / 426.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.002284/0.6218, allocations: 1.593 MB / 0.6147 GB, free: 5.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6219, allocations: 15.98 kB / 0.6147 GB, free: 5.234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.6227, allocations: 261.1 kB / 0.615 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.624, allocations: 0.8372 MB / 0.6158 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.6241, allocations: 64 kB / 0.6159 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.6243, allocations: 108 kB / 0.616 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002469/0.6267, allocations: 1.703 MB / 0.6176 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/0.6308, allocations: 3.054 MB / 0.6206 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.6308, allocations: 15.88 kB / 0.6206 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.631, allocations: 12 kB / 0.6206 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003391/0.6313, allocations: 328.1 kB / 0.621 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.6442, allocations: 14.54 MB / 0.6352 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.6443, allocations: 165.1 kB / 0.6353 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.6444, allocations: 84.08 kB / 0.6354 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.6444, allocations: 75.28 kB / 0.6355 GB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.6445, allocations: 105.8 kB / 0.6356 GB, free: 14.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/0.6445, allocations: 7.938 kB / 0.6356 GB, free: 14.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002496/0.6447, allocations: 136.3 kB / 0.6357 GB, free: 14.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6448, allocations: 59.36 kB / 0.6358 GB, free: 14.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6461, allocations: 1.121 MB / 0.6369 GB, free: 13.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.6461, allocations: 25.7 kB / 0.6369 GB, free: 13.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008859/0.647, allocations: 1.378 MB / 0.6382 GB, free: 12.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.647, allocations: 43.95 kB / 0.6383 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.6471, allocations: 0 / 0.6383 GB, free: 12.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.6473, allocations: 430.8 kB / 0.6387 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.6477, allocations: 308 kB / 0.639 GB, free: 11.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.6493, allocations: 1.847 MB / 0.6408 GB, free: 8.723 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.6502, allocations: 0.7214 MB / 0.6415 GB, free: 8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/0.6502, allocations: 20 kB / 0.6415 GB, free: 7.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00268/0.6529, allocations: 1.73 MB / 0.6432 GB, free: 6.246 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.653, allocations: 33.41 kB / 0.6432 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.406e-05/0.653, allocations: 63.92 kB / 0.6433 GB, free: 6.152 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.813e-05/0.6531, allocations: 80 kB / 0.6434 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.6542, allocations: 487.1 kB / 0.6438 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.062e-05/0.6543, allocations: 107.6 kB / 0.6439 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6555, allocations: 260.8 kB / 0.6442 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.6557, allocations: 136 kB / 0.6443 GB, free: 5.102 MB / 458.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.0002562/0.6559, allocations: 334.2 kB / 0.6446 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6561, allocations: 203.7 kB / 0.6448 GB, free: 4.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.6563, allocations: 210.7 kB / 0.645 GB, free: 4.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.931e-05/0.6564, allocations: 180.3 kB / 0.6452 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.119e-05/0.6564, allocations: 176.3 kB / 0.6454 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.066e-05/0.6565, allocations: 188.2 kB / 0.6455 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.6578, allocations: 1.021 MB / 0.6465 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/0.6579, allocations: 101 kB / 0.6466 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.6579, allocations: 104.9 kB / 0.6467 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.438e-05/0.658, allocations: 180.4 kB / 0.6469 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.94e-05/0.658, allocations: 184.3 kB / 0.6471 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.929e-05/0.6581, allocations: 188.2 kB / 0.6473 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-05/0.6582, allocations: 176.3 kB / 0.6474 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.6584, allocations: 412.2 kB / 0.6478 GB, free: 1.336 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.6587, allocations: 268.7 kB / 0.6481 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6588, allocations: 180.3 kB / 0.6483 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.6591, allocations: 108.9 kB / 0.6484 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.6592, allocations: 180.3 kB / 0.6485 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.6592, allocations: 108.9 kB / 0.6486 GB, free: 464 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008482/0.6601, allocations: 0.7269 MB / 0.6493 GB, free: 15.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6601, allocations: 0 / 0.6493 GB, free: 15.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001586/0.6617, allocations: 417.7 kB / 0.6497 GB, free: 15.31 MB / 474.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.0001651/0.6618, allocations: 174.5 kB / 0.6499 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.6629, allocations: 0.7707 MB / 0.6507 GB, free: 14.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6629, allocations: 0.8125 kB / 0.6507 GB, free: 14.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.6629, allocations: 4 kB / 0.6507 GB, free: 14.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.6635, allocations: 0.6051 MB / 0.6513 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.6668, allocations: 2.051 MB / 0.6533 GB, free: 11.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.6682, allocations: 1.618 MB / 0.6548 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.6693, allocations: 457.6 kB / 0.6553 GB, free: 9.562 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.6694, allocations: 63.44 kB / 0.6553 GB, free: 9.5 MB / 474.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6694, allocations: 0 / 0.6553 GB, free: 9.5 MB / 474.7 MB Notification: Performance of Templates: time 0.01298/0.6824, allocations: 5.729 MB / 0.6609 GB, free: 3.785 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches