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.001591/0.001591, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 242.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007733/0.0007733, allocations: 107.4 kB / 293.3 MB, free: 10.56 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.361/0.361, allocations: 44.14 MB / 388.5 MB, free: 38.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 12 kB / 461.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3305, allocations: 61.88 MB / 0.5107 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4499, allocations: 95.37 MB / 0.6039 GB, free: 15.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.4504, allocations: 87.94 kB / 0.6039 GB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08548/0.5359, allocations: 35.34 MB / 0.6384 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5359, allocations: 0 / 0.6384 GB, free: 11.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.462e-05/0.536, allocations: 32 kB / 0.6385 GB, free: 11.91 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.003728/0.5397, allocations: 1.738 MB / 0.6402 GB, free: 10.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5398, allocations: 8.031 kB / 0.6402 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/0.5461, allocations: 1.656 MB / 0.6418 GB, free: 8.449 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.5485, allocations: 1.062 MB / 0.6428 GB, free: 7.344 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.5487, allocations: 135.7 kB / 0.643 GB, free: 7.211 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006769/0.5494, allocations: 168.3 kB / 0.6431 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009158/0.5586, allocations: 4.97 MB / 0.648 GB, free: 1.434 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.5588, allocations: 31.88 kB / 0.648 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005345/0.5593, allocations: 95.88 kB / 0.6481 GB, free: 1.309 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007091/0.56, allocations: 0.5023 MB / 0.6486 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007076/0.5671, allocations: 4.081 MB / 0.6526 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02517/0.5923, allocations: 24.68 MB / 0.6767 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.5936, allocations: 1.172 MB / 0.6778 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.5941, allocations: 346.4 kB / 0.6782 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.5941, allocations: 4 kB / 0.6782 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.5942, allocations: 38.56 kB / 0.6782 GB, free: 1.406 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/0.5942, allocations: 0 / 0.6782 GB, free: 1.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.001541/0.5957, allocations: 1.029 MB / 0.6792 GB, free: 384 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.5958, allocations: 114.8 kB / 0.6793 GB, free: 244 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2429/0.8388, allocations: 2.2 MB / 0.6815 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.8389, allocations: 34.02 kB / 0.6815 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007643/0.8397, allocations: 1.622 MB / 0.6831 GB, free: 118.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.8399, allocations: 270.1 kB / 0.6833 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.84, allocations: 64.03 kB / 0.6834 GB, free: 118.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.8402, allocations: 0.4975 MB / 0.6839 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.8412, allocations: 0.8815 MB / 0.6847 GB, free: 118.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.8434, allocations: 3.152 MB / 0.6878 GB, free: 115.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003737/0.8471, allocations: 4.423 MB / 0.6921 GB, free: 112.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-05/0.8472, allocations: 23 kB / 0.6922 GB, free: 112.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.004759/0.8519, allocations: 3.819 MB / 0.6959 GB, free: 111.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.852, allocations: 38.47 kB / 0.6959 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/0.8521, allocations: 86.09 kB / 0.696 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.788e-05/0.8522, allocations: 105.9 kB / 0.6961 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.8539, allocations: 0.756 MB / 0.6968 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.102e-05/0.854, allocations: 152.8 kB / 0.697 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.8558, allocations: 500 kB / 0.6975 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.8561, allocations: 212.4 kB / 0.6977 GB, free: 111.1 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.001141/0.8572, allocations: 1.096 MB / 0.6987 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.8574, allocations: 169.1 kB / 0.6989 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.8577, allocations: 204.1 kB / 0.6991 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.8577, allocations: 12.44 kB / 0.6991 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.8577, allocations: 0 / 0.6991 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8577, allocations: 3.219 kB / 0.6991 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.8602, allocations: 2.022 MB / 0.7011 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8602, allocations: 0 / 0.7011 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.8605, allocations: 57.56 kB / 0.7011 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.8605, allocations: 3.219 kB / 0.7011 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.8605, allocations: 6.969 kB / 0.7012 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.8605, allocations: 3.156 kB / 0.7012 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8605, allocations: 3.938 kB / 0.7012 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.8613, allocations: 1.034 MB / 0.7022 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.8615, allocations: 246.3 kB / 0.7024 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.8616, allocations: 8.297 kB / 0.7024 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.8621, allocations: 22.91 kB / 0.7024 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.8622, allocations: 26.92 kB / 0.7025 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.8623, allocations: 21.94 kB / 0.7025 GB, free: 108.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001469/0.8637, allocations: 1.376 MB / 0.7038 GB, free: 108.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8637, allocations: 0 / 0.7038 GB, free: 108.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002033/0.8658, allocations: 0.5027 MB / 0.7043 GB, free: 108 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.0002275/0.866, allocations: 130.2 kB / 0.7044 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.8684, allocations: 2.021 MB / 0.7064 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8684, allocations: 0.5 kB / 0.7064 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.8687, allocations: 338.3 kB / 0.7067 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.8698, allocations: 165.7 kB / 0.7069 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/0.8767, allocations: 4.421 MB / 0.7112 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.8784, allocations: 1.787 MB / 0.713 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002697/0.8811, allocations: 1.112 MB / 0.714 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.8814, allocations: 118.3 kB / 0.7142 GB, free: 103.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8815, allocations: 3.938 kB / 0.7142 GB, free: 103.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02889/0.9103, allocations: 12.2 MB / 0.7261 GB, free: 103.1 MB / 490.7 MB 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/jenkins1/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