Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 194 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000774/0.000774, allocations: 110.2 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3217/0.3217, allocations: 44.82 MB / 393 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002752, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 62.96 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4041, allocations: 96.29 MB / 0.6105 GB, free: 9.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4044, allocations: 75.97 kB / 0.6106 GB, free: 8.996 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08528/0.4897, allocations: 35.38 MB / 0.6451 GB, free: 5.246 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4897, allocations: 0 / 0.6451 GB, free: 5.246 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.236e-05/0.4898, allocations: 32 kB / 0.6452 GB, free: 5.215 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.002579/0.4924, allocations: 1.745 MB / 0.6469 GB, free: 3.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4924, allocations: 8.031 kB / 0.6469 GB, free: 3.402 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.4984, allocations: 1.648 MB / 0.6485 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.5006, allocations: 1.062 MB / 0.6495 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/0.5007, allocations: 131.8 kB / 0.6496 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/0.501, allocations: 168.3 kB / 0.6498 GB, free: 360 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00649/0.5075, allocations: 4.968 MB / 0.6547 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.346e-05/0.5076, allocations: 35.88 kB / 0.6547 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.5079, allocations: 91.88 kB / 0.6548 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005789/0.5085, allocations: 0.5023 MB / 0.6553 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006241/0.5147, allocations: 4.081 MB / 0.6592 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2312/0.7459, allocations: 24.68 MB / 0.6833 GB, free: 98.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.7472, allocations: 1.169 MB / 0.6845 GB, free: 98.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.7475, allocations: 347.2 kB / 0.6848 GB, free: 98.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.7475, allocations: 5.938 kB / 0.6848 GB, free: 98.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.7476, allocations: 43.75 kB / 0.6849 GB, free: 98.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 3.447e-06/0.7476, allocations: 0 / 0.6849 GB, free: 98.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.0013/0.7489, allocations: 1.029 MB / 0.6859 GB, free: 98.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.7489, allocations: 111.2 kB / 0.686 GB, free: 97.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.7513, allocations: 2.196 MB / 0.6881 GB, free: 97.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.7513, allocations: 29.45 kB / 0.6882 GB, free: 97.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.752, allocations: 1.632 MB / 0.6897 GB, free: 96.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.7522, allocations: 269.6 kB / 0.69 GB, free: 96.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.7523, allocations: 64.47 kB / 0.6901 GB, free: 96.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7525, allocations: 0.4895 MB / 0.6905 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009924/0.7535, allocations: 0.8854 MB / 0.6914 GB, free: 96.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.7552, allocations: 3.161 MB / 0.6945 GB, free: 93.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.7584, allocations: 4.424 MB / 0.6988 GB, free: 90.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-05/0.7585, allocations: 25.72 kB / 0.6988 GB, free: 90.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.004788/0.7633, allocations: 3.815 MB / 0.7026 GB, free: 89.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.7634, allocations: 46.64 kB / 0.7026 GB, free: 89.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.227e-05/0.7634, allocations: 81.38 kB / 0.7027 GB, free: 89.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.314e-05/0.7635, allocations: 107.6 kB / 0.7028 GB, free: 89.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.7652, allocations: 0.7502 MB / 0.7035 GB, free: 89.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.522e-05/0.7653, allocations: 157 kB / 0.7037 GB, free: 89.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.7673, allocations: 0.4902 MB / 0.7042 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.7676, allocations: 217.3 kB / 0.7044 GB, free: 89.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * 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.001374/0.7689, allocations: 1.089 MB / 0.7054 GB, free: 89.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.7692, allocations: 167.6 kB / 0.7056 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.7695, allocations: 207.7 kB / 0.7058 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.7695, allocations: 8.359 kB / 0.7058 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.7695, allocations: 1.25 kB / 0.7058 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7695, allocations: 5.344 kB / 0.7058 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.7726, allocations: 2.02 MB / 0.7078 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7726, allocations: 0 / 0.7078 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.7729, allocations: 63.86 kB / 0.7078 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7729, allocations: 2.938 kB / 0.7078 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.7729, allocations: 7.312 kB / 0.7078 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.773, allocations: 2.312 kB / 0.7078 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.773, allocations: 1.094 kB / 0.7078 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.7739, allocations: 1.027 MB / 0.7088 GB, free: 87.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.7742, allocations: 240.2 kB / 0.7091 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.7744, allocations: 6.969 kB / 0.7091 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.7748, allocations: 31.69 kB / 0.7091 GB, free: 87.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.7749, allocations: 29.73 kB / 0.7091 GB, free: 87.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.775, allocations: 16.53 kB / 0.7092 GB, free: 87.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001751/0.7767, allocations: 1.373 MB / 0.7105 GB, free: 87.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7767, allocations: 0 / 0.7105 GB, free: 87.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002387/0.7791, allocations: 0.5012 MB / 0.711 GB, free: 87.04 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 () * Number of clocked 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.0002683/0.7794, allocations: 130.8 kB / 0.7111 GB, free: 86.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002803/0.7822, allocations: 2.031 MB / 0.7131 GB, free: 86.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7822, allocations: 1.875 kB / 0.7131 GB, free: 86.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.7826, allocations: 333.8 kB / 0.7134 GB, free: 86.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.7838, allocations: 156.6 kB / 0.7136 GB, free: 86.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.79, allocations: 4.65 MB / 0.7181 GB, free: 83.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.7917, allocations: 1.796 MB / 0.7199 GB, free: 82.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.7921, allocations: 148.7 kB / 0.72 GB, free: 82.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.92e-07/0.7921, allocations: 0.9062 kB / 0.72 GB, free: 82.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02968/0.8218, allocations: 25.3 MB / 0.7447 GB, free: 78.87 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches