Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 178.7 kB / 18.04 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007396/0.0007397, allocations: 77.56 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003127, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3552, allocations: 89.49 MB / 466.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.3555, allocations: 91.95 kB / 466.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3142/0.6697, allocations: 58.15 MB / 0.5125 GB, free: 94.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.6698, allocations: 0 / 0.5125 GB, free: 94.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001307/0.6699, allocations: 46.66 kB / 0.5125 GB, free: 94.49 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.009712/0.6796, allocations: 3.009 MB / 0.5154 GB, free: 93.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6797, allocations: 7.562 kB / 0.5155 GB, free: 93.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007449/0.6871, allocations: 1.906 MB / 0.5173 GB, free: 93.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.6917, allocations: 2.387 MB / 0.5196 GB, free: 92.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.6919, allocations: 188.3 kB / 0.5198 GB, free: 92.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005771/0.6925, allocations: 237.6 kB / 0.5201 GB, free: 92.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009482/0.7019, allocations: 7.304 MB / 0.5272 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.565e-05/0.7021, allocations: 45.34 kB / 0.5272 GB, free: 87.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/0.7024, allocations: 135.5 kB / 0.5274 GB, free: 87.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008274/0.7032, allocations: 0.7274 MB / 0.5281 GB, free: 87.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009172/0.7124, allocations: 6.239 MB / 0.5342 GB, free: 81.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03021/0.7427, allocations: 36.9 MB / 0.5702 GB, free: 43.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/0.7484, allocations: 3.009 MB / 0.5731 GB, free: 40.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.7499, allocations: 1.419 MB / 0.5745 GB, free: 38.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00517/0.7551, allocations: 4.487 MB / 0.5789 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.7552, allocations: 47.12 kB / 0.5789 GB, free: 34.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=113): time 3.818e-06/0.7552, allocations: 0 / 0.5789 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.06631/0.8215, allocations: 22.48 MB / 0.6009 GB, free: 11.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.8216, allocations: 141.5 kB / 0.601 GB, free: 11.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.8249, allocations: 2.907 MB / 0.6039 GB, free: 8.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000312/0.8252, allocations: 45.7 kB / 0.6039 GB, free: 8.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/0.8261, allocations: 2.129 MB / 0.606 GB, free: 6.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.8266, allocations: 0.5779 MB / 0.6066 GB, free: 5.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.8268, allocations: 96 kB / 0.6067 GB, free: 5.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.827, allocations: 0.5086 MB / 0.6072 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/0.8297, allocations: 2.344 MB / 0.6094 GB, free: 2.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.8347, allocations: 5.31 MB / 0.6146 GB, free: 11.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.8451, allocations: 8.207 MB / 0.6226 GB, free: 2.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.358e-05/0.8452, allocations: 28 kB / 0.6227 GB, free: 2.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02647/0.8717, allocations: 11.24 MB / 0.6336 GB, free: 7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/0.8718, allocations: 48 kB / 0.6337 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.872, allocations: 104 kB / 0.6338 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/0.8862, allocations: 4.177 MB / 0.6379 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/0.8901, allocations: 1.115 MB / 0.639 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/0.9124, allocations: 13.76 MB / 0.6524 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004115/0.9166, allocations: 359.4 kB / 0.6527 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006958/0.9173, allocations: 331.9 kB / 0.6531 GB, free: 2.965 MB / 426.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.00244/0.9198, allocations: 1.465 MB / 0.6545 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004867/0.9202, allocations: 256.7 kB / 0.6547 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2029/1.123, allocations: 6.955 MB / 0.6615 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.412e-05/1.123, allocations: 16.72 kB / 0.6615 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.123, allocations: 8.312 kB / 0.6615 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3e-05/1.123, allocations: 9 kB / 0.6616 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03044/1.154, allocations: 14.14 MB / 0.6754 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/1.154, allocations: 7.5 kB / 0.6754 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.155, allocations: 221.9 kB / 0.6756 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01358/1.169, allocations: 4.795 MB / 0.6803 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003658/1.169, allocations: 46.45 kB / 0.6803 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/1.188, allocations: 13.89 MB / 0.6939 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.188, allocations: 7.875 kB / 0.6939 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/1.208, allocations: 10.95 MB / 0.7046 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.21, allocations: 345.3 kB / 0.7049 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007008/1.21, allocations: 31.98 kB / 0.7049 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.212, allocations: 196.4 kB / 0.7051 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/1.213, allocations: 111.4 kB / 0.7052 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.213, allocations: 44.98 kB / 0.7053 GB, free: 110.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002729/1.215, allocations: 1.814 MB / 0.707 GB, free: 108.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/1.215, allocations: 2 kB / 0.707 GB, free: 108.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003989/1.219, allocations: 0.8607 MB / 0.7079 GB, free: 107.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 87 * 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.0004344/1.22, allocations: 176.7 kB / 0.7081 GB, free: 107.3 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.00996/1.23, allocations: 6.696 MB / 0.7146 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.23, allocations: 0 / 0.7146 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.235, allocations: 3.179 MB / 0.7177 GB, free: 97.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.238, allocations: 283.5 kB / 0.718 GB, free: 97.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.248, allocations: 8.45 MB / 0.7262 GB, free: 88.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/1.25, allocations: 2.32 MB / 0.7285 GB, free: 86.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003539/1.253, allocations: 1.553 MB / 0.73 GB, free: 84.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005618/1.254, allocations: 207.3 kB / 0.7302 GB, free: 84.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/1.254, allocations: 0 / 0.7302 GB, free: 84.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05758/1.312, allocations: 41.63 MB / 0.7708 GB, free: 43.29 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches