Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007928/0.0007927, allocations: 95.88 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002163/0.0002163, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1901, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.296, allocations: 91.5 MB / 0.4892 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.2962, allocations: 101.5 kB / 0.4893 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3171/0.6134, allocations: 62.43 MB / 0.5502 GB, free: 60.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6134, allocations: 0 / 0.5502 GB, free: 60.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.984e-05/0.6135, allocations: 47.94 kB / 0.5503 GB, free: 60.59 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.009176/0.6227, allocations: 3.141 MB / 0.5533 GB, free: 57.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.6228, allocations: 8.031 kB / 0.5534 GB, free: 57.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008113/0.6309, allocations: 1.935 MB / 0.5552 GB, free: 55.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007078/0.638, allocations: 2.808 MB / 0.558 GB, free: 52.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.6381, allocations: 192.7 kB / 0.5582 GB, free: 52.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009464/0.6391, allocations: 239.8 kB / 0.5584 GB, free: 52.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009708/0.6488, allocations: 7.328 MB / 0.5656 GB, free: 43.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.408e-05/0.6489, allocations: 51.55 kB / 0.5656 GB, free: 43.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/0.6493, allocations: 131.9 kB / 0.5657 GB, free: 43.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007486/0.65, allocations: 0.7339 MB / 0.5664 GB, free: 43.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007844/0.6579, allocations: 6.283 MB / 0.5726 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.6837, allocations: 36.87 MB / 0.6086 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006312/0.69, allocations: 3.014 MB / 0.6115 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006247/0.6963, allocations: 4.202 MB / 0.6156 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.6963, allocations: 47.08 kB / 0.6157 GB, free: 7.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 3.877e-06/0.6964, allocations: 0 / 0.6157 GB, free: 7.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.07531/0.7717, allocations: 23.2 MB / 0.6383 GB, free: 15.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.7718, allocations: 171.2 kB / 0.6385 GB, free: 15.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/0.7772, allocations: 2.585 MB / 0.641 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004101/0.7776, allocations: 49.55 kB / 0.6411 GB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.7793, allocations: 2.114 MB / 0.6431 GB, free: 10.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/0.78, allocations: 0.5824 MB / 0.6437 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000478/0.7805, allocations: 96 kB / 0.6438 GB, free: 10.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003553/0.7809, allocations: 0.5086 MB / 0.6443 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.7842, allocations: 2.34 MB / 0.6466 GB, free: 7.164 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005121/0.7894, allocations: 5.298 MB / 0.6517 GB, free: 392 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/0.7937, allocations: 3.429 MB / 0.6551 GB, free: 12.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.965e-05/0.7937, allocations: 32 kB / 0.6551 GB, free: 12.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02458/0.8183, allocations: 11.24 MB / 0.6661 GB, free: 1.656 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/0.8184, allocations: 48.22 kB / 0.6661 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-05/0.8185, allocations: 108 kB / 0.6662 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1927/1.011, allocations: 4.177 MB / 0.6703 GB, free: 119.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/1.015, allocations: 1.119 MB / 0.6714 GB, free: 119.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.035, allocations: 14.24 MB / 0.6853 GB, free: 117.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.039, allocations: 355.7 kB / 0.6857 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.04, allocations: 335.4 kB / 0.686 GB, free: 117.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 565 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003149/1.044, allocations: 1.467 MB / 0.6874 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/1.044, allocations: 248 kB / 0.6877 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/1.063, allocations: 6.954 MB / 0.6944 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/1.063, allocations: 25.03 kB / 0.6945 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.063, allocations: 7.219 kB / 0.6945 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.063, allocations: 7.594 kB / 0.6945 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.09, allocations: 14.28 MB / 0.7084 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.09, allocations: 3.969 kB / 0.7084 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009621/1.091, allocations: 225.8 kB / 0.7086 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01312/1.104, allocations: 4.811 MB / 0.7133 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/1.104, allocations: 46.78 kB / 0.7134 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.122, allocations: 14.38 MB / 0.7274 GB, free: 95.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.122, allocations: 0 / 0.7274 GB, free: 95.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/1.141, allocations: 11.13 MB / 0.7383 GB, free: 84.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007287/1.142, allocations: 343.7 kB / 0.7386 GB, free: 84.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005932/1.143, allocations: 31.98 kB / 0.7387 GB, free: 84.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.145, allocations: 201.3 kB / 0.7388 GB, free: 84.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00041/1.145, allocations: 108.8 kB / 0.739 GB, free: 84.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.145, allocations: 50.44 kB / 0.739 GB, free: 84.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002844/1.148, allocations: 1.794 MB / 0.7408 GB, free: 82.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.148, allocations: 0 / 0.7408 GB, free: 82.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003987/1.152, allocations: 0.8692 MB / 0.7416 GB, free: 81.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (100): * Single equations (assignments): 90 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004407/1.153, allocations: 168 kB / 0.7418 GB, free: 81.32 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009246/1.162, allocations: 6.722 MB / 0.7483 GB, free: 74.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.162, allocations: 4.188 kB / 0.7483 GB, free: 74.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004836/1.167, allocations: 3.191 MB / 0.7514 GB, free: 71.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.168, allocations: 259.6 kB / 0.7517 GB, free: 71.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.179, allocations: 8.433 MB / 0.7599 GB, free: 62.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003058/1.183, allocations: 2.378 MB / 0.7623 GB, free: 60.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003819/1.186, allocations: 1.565 MB / 0.7638 GB, free: 58.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000701/1.187, allocations: 207.3 kB / 0.764 GB, free: 58.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.724e-06/1.187, allocations: 0 / 0.764 GB, free: 58.58 MB / 442.7 MB Notification: Performance of Templates: time 0.0532/1.24, allocations: 41.57 MB / 0.8046 GB, free: 17.41 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches