Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.0009462, allocations: 169 kB / 8.742 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.304/1.304, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009868/0.0009868, allocations: 101.7 kB / 281.6 MB, free: 5.316 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.2224/0.2224, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1597, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.5381, allocations: 94.58 MB / 0.587 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/0.5383, allocations: 75.95 kB / 0.5871 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08799/0.6263, allocations: 35.01 MB / 0.6213 GB, free: 14.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6264, allocations: 4 kB / 0.6213 GB, free: 14.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.904e-05/0.6265, allocations: 28 kB / 0.6213 GB, free: 14.46 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.00255/0.629, allocations: 1.671 MB / 0.623 GB, free: 12.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.6291, allocations: 11.98 kB / 0.623 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006649/0.6357, allocations: 1.651 MB / 0.6246 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.638, allocations: 1.033 MB / 0.6256 GB, free: 9.996 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.6381, allocations: 56 kB / 0.6256 GB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.6384, allocations: 103.9 kB / 0.6257 GB, free: 9.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003987/0.6424, allocations: 2.785 MB / 0.6285 GB, free: 7.047 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005534/0.648, allocations: 4.656 MB / 0.633 GB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.648, allocations: 35.67 kB / 0.633 GB, free: 1.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.6482, allocations: 20 kB / 0.6331 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006154/0.6489, allocations: 0.514 MB / 0.6336 GB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.6687, allocations: 23.55 MB / 0.6566 GB, free: 8.824 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.6702, allocations: 1.155 MB / 0.6577 GB, free: 7.531 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.6706, allocations: 326.4 kB / 0.658 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.6706, allocations: 12.08 kB / 0.658 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.6707, allocations: 42.45 kB / 0.6581 GB, free: 7.141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 2.956e-06/0.6707, allocations: 0 / 0.6581 GB, free: 7.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001237/0.6719, allocations: 0.7244 MB / 0.6588 GB, free: 6.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.672, allocations: 106.8 kB / 0.6589 GB, free: 6.285 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.675, allocations: 1.707 MB / 0.6605 GB, free: 4.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.6751, allocations: 29.7 kB / 0.6606 GB, free: 4.543 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.6767, allocations: 1.675 MB / 0.6622 GB, free: 2.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.6771, allocations: 261 kB / 0.6624 GB, free: 2.582 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.6772, allocations: 0 / 0.6624 GB, free: 2.582 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004308/0.6776, allocations: 494.4 kB / 0.6629 GB, free: 2.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.6789, allocations: 0.8307 MB / 0.6637 GB, free: 1.258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.6819, allocations: 3.211 MB / 0.6669 GB, free: 12.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.6841, allocations: 1.674 MB / 0.6685 GB, free: 11.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/0.6842, allocations: 28 kB / 0.6685 GB, free: 11.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.005295/0.6895, allocations: 3.416 MB / 0.6719 GB, free: 7.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.6896, allocations: 40 kB / 0.6719 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.617e-05/0.6897, allocations: 88 kB / 0.672 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.6898, allocations: 128 kB / 0.6721 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.6918, allocations: 0.7914 MB / 0.6729 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00012/0.692, allocations: 163.4 kB / 0.673 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.694, allocations: 435.1 kB / 0.6735 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.6943, allocations: 232 kB / 0.6737 GB, free: 5.867 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 428 * Array equations: 3 * 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.0003408/0.6946, allocations: 306.6 kB / 0.674 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.6948, allocations: 153.9 kB / 0.6741 GB, free: 5.406 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.6951, allocations: 186.6 kB / 0.6743 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/0.6952, allocations: 8 kB / 0.6743 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.6952, allocations: 3.953 kB / 0.6743 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6952, allocations: 7.984 kB / 0.6743 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.6979, allocations: 1.636 MB / 0.6759 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6979, allocations: 4 kB / 0.6759 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.6982, allocations: 63.84 kB / 0.676 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.6982, allocations: 7.938 kB / 0.676 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.6982, allocations: 4 kB / 0.676 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6982, allocations: 0 / 0.676 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6983, allocations: 0 / 0.676 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6994, allocations: 1.025 MB / 0.677 GB, free: 2.387 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.6997, allocations: 230.8 kB / 0.6772 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6998, allocations: 4 kB / 0.6772 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.7003, allocations: 19.97 kB / 0.6772 GB, free: 2.117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.7004, allocations: 23.97 kB / 0.6773 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.7004, allocations: 16 kB / 0.6773 GB, free: 2.078 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001447/0.7019, allocations: 1.125 MB / 0.6784 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7019, allocations: 0 / 0.6784 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002344/0.7042, allocations: 458.4 kB / 0.6788 GB, free: 0.5117 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0003208/0.7045, allocations: 127.2 kB / 0.6789 GB, free: 384 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.7075, allocations: 1.899 MB / 0.6808 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7075, allocations: 0 / 0.6808 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.7078, allocations: 319.8 kB / 0.6811 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.7086, allocations: 147.9 kB / 0.6812 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.7133, allocations: 2.981 MB / 0.6841 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.715, allocations: 1.825 MB / 0.6859 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002713/0.7177, allocations: 1.144 MB / 0.687 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.7179, allocations: 115.4 kB / 0.6871 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.7179, allocations: 0 / 0.6871 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of Templates: time 0.02291/0.7408, allocations: 10.82 MB / 0.6977 GB, free: 13.11 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches