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.001529/0.001529, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007904/0.0007905, allocations: 74.39 kB / 262.4 MB, free: 1.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.917e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4685, allocations: 88.86 MB / 451.9 MB, free: 7.004 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4688, allocations: 86.14 kB / 452 MB, free: 6.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1478/0.6166, allocations: 58.48 MB / 0.4985 GB, free: 1.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6166, allocations: 3.984 kB / 0.4985 GB, free: 1.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.376e-05/0.6167, allocations: 51.94 kB / 0.4986 GB, free: 1.797 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.008018/0.6248, allocations: 2.916 MB / 0.5014 GB, free: 14.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.6248, allocations: 16.03 kB / 0.5015 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008354/0.6332, allocations: 1.939 MB / 0.5033 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008705/0.6419, allocations: 3.459 MB / 0.5067 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/0.6421, allocations: 80 kB / 0.5068 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/0.6427, allocations: 144 kB / 0.5069 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006194/0.6489, allocations: 4.276 MB / 0.5111 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/0.6572, allocations: 6.592 MB / 0.5176 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.194e-05/0.6574, allocations: 51.47 kB / 0.5176 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.6577, allocations: 28 kB / 0.5176 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009559/0.6587, allocations: 0.7338 MB / 0.5183 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2817/0.9404, allocations: 35.62 MB / 0.5531 GB, free: 85.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.9437, allocations: 2.319 MB / 0.5554 GB, free: 84.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.9456, allocations: 1.362 MB / 0.5567 GB, free: 84.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.9464, allocations: 0.633 MB / 0.5573 GB, free: 83.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.9464, allocations: 50.83 kB / 0.5574 GB, free: 83.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 3.838e-06/0.9464, allocations: 0 / 0.5574 GB, free: 83.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=152): time 0.03881/0.9852, allocations: 15.82 MB / 0.5728 GB, free: 81.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.9853, allocations: 142.4 kB / 0.573 GB, free: 81.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/0.989, allocations: 2.302 MB / 0.5752 GB, free: 80.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000466/0.9894, allocations: 29.27 kB / 0.5753 GB, free: 80.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9906, allocations: 2.173 MB / 0.5774 GB, free: 79.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/0.9912, allocations: 0.5804 MB / 0.5779 GB, free: 78.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.9915, allocations: 0 / 0.5779 GB, free: 78.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002855/0.9918, allocations: 0.571 MB / 0.5785 GB, free: 78.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/0.9943, allocations: 2.257 MB / 0.5807 GB, free: 77.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/0.9986, allocations: 5.326 MB / 0.5859 GB, free: 72.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/1.003, allocations: 3.404 MB / 0.5892 GB, free: 71.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.831e-05/1.003, allocations: 29.78 kB / 0.5893 GB, free: 71.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=664) (initialization): time 0.02294/1.026, allocations: 10.63 MB / 0.5996 GB, free: 68.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/1.026, allocations: 51.94 kB / 0.5997 GB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/1.026, allocations: 111.1 kB / 0.5998 GB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/1.04, allocations: 4.112 MB / 0.6038 GB, free: 67.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/1.044, allocations: 1.179 MB / 0.605 GB, free: 66.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/1.062, allocations: 12.68 MB / 0.6173 GB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/1.067, allocations: 272.6 kB / 0.6176 GB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.068, allocations: 355.4 kB / 0.6179 GB, free: 55.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 594 * 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.001583/1.07, allocations: 375.7 kB / 0.6183 GB, free: 55.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006826/1.071, allocations: 229 kB / 0.6185 GB, free: 55.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/1.087, allocations: 6.726 MB / 0.6251 GB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/1.087, allocations: 20 kB / 0.6251 GB, free: 49.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/1.087, allocations: 8 kB / 0.6251 GB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.624e-05/1.087, allocations: 3.984 kB / 0.6251 GB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03005/1.117, allocations: 13.81 MB / 0.6386 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.117, allocations: 0.8438 kB / 0.6386 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.119, allocations: 223.7 kB / 0.6388 GB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01375/1.132, allocations: 4.674 MB / 0.6434 GB, free: 30.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003924/1.133, allocations: 23.95 kB / 0.6434 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/1.15, allocations: 12.69 MB / 0.6558 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.15, allocations: 0 / 0.6558 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/1.171, allocations: 10.83 MB / 0.6664 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008015/1.172, allocations: 317.9 kB / 0.6667 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007899/1.172, allocations: 8 kB / 0.6667 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.174, allocations: 185.4 kB / 0.6669 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004392/1.175, allocations: 104.6 kB / 0.667 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.175, allocations: 47.97 kB / 0.667 GB, free: 6.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002628/1.178, allocations: 1.524 MB / 0.6685 GB, free: 4.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.178, allocations: 0 / 0.6685 GB, free: 4.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005019/1.183, allocations: 0.7484 MB / 0.6692 GB, free: 3.965 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * 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.0005259/1.183, allocations: 152.6 kB / 0.6694 GB, free: 3.812 MB / 410.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 was selected as a continuous variable. [/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01205/1.195, allocations: 6.513 MB / 0.6757 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.195, allocations: 0 / 0.6757 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006653/1.202, allocations: 3.148 MB / 0.6788 GB, free: 9.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.204, allocations: 214.3 kB / 0.679 GB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.215, allocations: 6.254 MB / 0.6851 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/1.217, allocations: 2.376 MB / 0.6874 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.2179/1.435, allocations: 1.643 MB / 0.689 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008793/1.436, allocations: 194.2 kB / 0.6892 GB, free: 111.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/1.436, allocations: 0 / 0.6892 GB, free: 111.1 MB / 426.7 MB Notification: Performance of Templates: time 0.06385/1.5, allocations: 38.82 MB / 0.7271 GB, free: 108 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/jenkins/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