Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001612/0.001612, allocations: 182.9 kB / 17.41 MB, free: 4.406 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.428/1.428, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007981/0.0007983, allocations: 92.98 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003071, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2121, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3129, allocations: 89.49 MB / 465.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.3132, allocations: 91.95 kB / 465.3 MB, free: 7.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3098/0.623, allocations: 58.15 MB / 0.5112 GB, free: 94.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6231, allocations: 3.938 kB / 0.5112 GB, free: 94.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.358e-05/0.6232, allocations: 48.31 kB / 0.5112 GB, free: 94.12 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.007763/0.6309, allocations: 3.009 MB / 0.5142 GB, free: 92.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.631, allocations: 11.16 kB / 0.5142 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/0.6383, allocations: 1.906 MB / 0.516 GB, free: 92.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/0.6434, allocations: 2.394 MB / 0.5184 GB, free: 92.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.6436, allocations: 181.4 kB / 0.5186 GB, free: 92.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.6449, allocations: 245.3 kB / 0.5188 GB, free: 92.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.6579, allocations: 7.293 MB / 0.5259 GB, free: 87.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.6582, allocations: 49.75 kB / 0.526 GB, free: 87.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/0.6593, allocations: 131.3 kB / 0.5261 GB, free: 87.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/0.6604, allocations: 0.7365 MB / 0.5268 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.671, allocations: 6.239 MB / 0.5329 GB, free: 81.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.7059, allocations: 36.88 MB / 0.5689 GB, free: 43.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/0.7119, allocations: 3.01 MB / 0.5719 GB, free: 40.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.7136, allocations: 1.421 MB / 0.5732 GB, free: 39.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006129/0.7197, allocations: 4.491 MB / 0.5776 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.7198, allocations: 43.12 kB / 0.5777 GB, free: 34.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=113): time 4.539e-06/0.7198, allocations: 0 / 0.5777 GB, free: 34.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.06791/0.7877, allocations: 22.48 MB / 0.5996 GB, free: 11.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.7878, allocations: 145.5 kB / 0.5998 GB, free: 11.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/0.7925, allocations: 2.911 MB / 0.6026 GB, free: 8.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.7929, allocations: 45.98 kB / 0.6026 GB, free: 8.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.7941, allocations: 2.125 MB / 0.6047 GB, free: 6.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007009/0.7948, allocations: 0.5776 MB / 0.6053 GB, free: 5.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/0.7953, allocations: 99.94 kB / 0.6054 GB, free: 5.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000285/0.7956, allocations: 0.5086 MB / 0.6059 GB, free: 5.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/0.7987, allocations: 2.344 MB / 0.6082 GB, free: 2.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.8038, allocations: 5.318 MB / 0.6134 GB, free: 12.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/0.8138, allocations: 8.2 MB / 0.6214 GB, free: 2.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.648e-05/0.8139, allocations: 39.94 kB / 0.6214 GB, free: 2.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02653/0.8405, allocations: 11.23 MB / 0.6324 GB, free: 7.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.8406, allocations: 51.94 kB / 0.6324 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/0.8408, allocations: 104 kB / 0.6325 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/0.8547, allocations: 4.168 MB / 0.6366 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003926/0.8587, allocations: 1.119 MB / 0.6377 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/0.8818, allocations: 13.77 MB / 0.6511 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/0.8862, allocations: 351.4 kB / 0.6515 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/0.8872, allocations: 335.9 kB / 0.6518 GB, free: 3.105 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.003309/0.8905, allocations: 1.469 MB / 0.6532 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005868/0.8911, allocations: 252.7 kB / 0.6535 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1908/1.082, allocations: 6.953 MB / 0.6602 GB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.963e-05/1.082, allocations: 16.38 kB / 0.6603 GB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.983e-05/1.082, allocations: 8.688 kB / 0.6603 GB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/1.082, allocations: 11.7 kB / 0.6603 GB, free: 127.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0288/1.111, allocations: 14.14 MB / 0.6741 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/1.111, allocations: 0 / 0.6741 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.112, allocations: 225.4 kB / 0.6743 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01366/1.126, allocations: 4.796 MB / 0.679 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004642/1.126, allocations: 50.86 kB / 0.679 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/1.145, allocations: 13.88 MB / 0.6926 GB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.145, allocations: 3.938 kB / 0.6926 GB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/1.166, allocations: 10.96 MB / 0.7033 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000857/1.167, allocations: 331.1 kB / 0.7036 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007939/1.167, allocations: 35.98 kB / 0.7037 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.17, allocations: 200.3 kB / 0.7038 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/1.17, allocations: 108.1 kB / 0.7039 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/1.17, allocations: 51.42 kB / 0.704 GB, free: 110.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002994/1.173, allocations: 1.814 MB / 0.7058 GB, free: 108.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.173, allocations: 0 / 0.7058 GB, free: 108.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004253/1.178, allocations: 0.853 MB / 0.7066 GB, free: 107.7 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.0004195/1.178, allocations: 177.7 kB / 0.7068 GB, free: 107.6 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.009732/1.188, allocations: 6.705 MB / 0.7133 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.188, allocations: 4 kB / 0.7133 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005157/1.193, allocations: 3.181 MB / 0.7164 GB, free: 97.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/1.196, allocations: 276.3 kB / 0.7167 GB, free: 97.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.208, allocations: 8.771 MB / 0.7253 GB, free: 88.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002149/1.211, allocations: 2.32 MB / 0.7275 GB, free: 86.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008716/1.212, allocations: 259.3 kB / 0.7278 GB, free: 86.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/1.212, allocations: 5.969 kB / 0.7278 GB, free: 86.09 MB / 426.7 MB Notification: Performance of Templates: time 0.2692/1.481, allocations: 131.1 MB / 0.8558 GB, free: 104.6 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches