Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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) 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(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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008914, allocations: 83.03 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.771e-05, allocations: 3.938 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09761, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3992/0.4968, allocations: 90.11 MB / 477.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.4972, allocations: 87.95 kB / 477.7 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1793/0.6765, allocations: 59.3 MB / 0.5244 GB, free: 8.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6766, allocations: 0 / 0.5244 GB, free: 8.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.414e-05/0.6767, allocations: 55.98 kB / 0.5244 GB, free: 8.84 MB / 410.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.009088/0.6858, allocations: 2.904 MB / 0.5273 GB, free: 5.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6858, allocations: 8.031 kB / 0.5273 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008621/0.6945, allocations: 1.942 MB / 0.5292 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009339/0.7038, allocations: 3.302 MB / 0.5324 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.704, allocations: 80 kB / 0.5325 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.7052, allocations: 140.2 kB / 0.5326 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007632/0.7129, allocations: 4.288 MB / 0.5368 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009674/0.7226, allocations: 6.589 MB / 0.5432 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.381e-05/0.7227, allocations: 43.62 kB / 0.5433 GB, free: 4.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003203/0.723, allocations: 24 kB / 0.5433 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009978/0.724, allocations: 0.7377 MB / 0.544 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4105/1.135, allocations: 35.6 MB / 0.5788 GB, free: 85.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/1.139, allocations: 2.32 MB / 0.581 GB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/1.142, allocations: 1.363 MB / 0.5824 GB, free: 84.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009547/1.143, allocations: 0.6356 MB / 0.583 GB, free: 84.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/1.143, allocations: 43.48 kB / 0.583 GB, free: 84.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 7.023e-06/1.143, allocations: 0 / 0.583 GB, free: 84.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=152): time 0.05972/1.203, allocations: 15.78 MB / 0.5984 GB, free: 80.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.203, allocations: 150 kB / 0.5986 GB, free: 79.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005252/1.208, allocations: 2.285 MB / 0.6008 GB, free: 79.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005499/1.209, allocations: 29.3 kB / 0.6008 GB, free: 79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.21, allocations: 2.164 MB / 0.603 GB, free: 77.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007943/1.211, allocations: 0.5825 MB / 0.6035 GB, free: 77.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/1.211, allocations: 0 / 0.6035 GB, free: 77.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003556/1.212, allocations: 0.5678 MB / 0.6041 GB, free: 76.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/1.216, allocations: 2.253 MB / 0.6063 GB, free: 75.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005038/1.221, allocations: 5.326 MB / 0.6115 GB, free: 70.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006062/1.227, allocations: 3.418 MB / 0.6148 GB, free: 69.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.586e-05/1.227, allocations: 29.47 kB / 0.6148 GB, free: 69.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=664) (initialization): time 0.03926/1.266, allocations: 10.62 MB / 0.6252 GB, free: 66.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.266, allocations: 50.34 kB / 0.6253 GB, free: 66.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/1.266, allocations: 111.3 kB / 0.6254 GB, free: 66.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02201/1.288, allocations: 4.114 MB / 0.6294 GB, free: 65.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006917/1.295, allocations: 1.176 MB / 0.6305 GB, free: 65.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03023/1.326, allocations: 12.69 MB / 0.6429 GB, free: 54.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007994/1.334, allocations: 269 kB / 0.6432 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.335, allocations: 349.5 kB / 0.6435 GB, free: 54.18 MB / 426.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.001352/1.337, allocations: 378.7 kB / 0.6439 GB, free: 53.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008358/1.337, allocations: 232.9 kB / 0.6441 GB, free: 53.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02697/1.364, allocations: 6.72 MB / 0.6507 GB, free: 47.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.169e-05/1.365, allocations: 23.95 kB / 0.6507 GB, free: 47.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-05/1.365, allocations: 8 kB / 0.6507 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.793e-05/1.365, allocations: 7.969 kB / 0.6507 GB, free: 47.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04585/1.411, allocations: 13.79 MB / 0.6642 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/1.411, allocations: 4 kB / 0.6642 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.413, allocations: 227.6 kB / 0.6644 GB, free: 33.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02341/1.436, allocations: 4.666 MB / 0.6689 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006203/1.437, allocations: 29.42 kB / 0.669 GB, free: 28.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/1.465, allocations: 12.69 MB / 0.6814 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.466, allocations: 3.562 kB / 0.6814 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0314/1.497, allocations: 10.82 MB / 0.6919 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.498, allocations: 317.8 kB / 0.6922 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006463/1.499, allocations: 15.94 kB / 0.6923 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.501, allocations: 183.7 kB / 0.6924 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/1.501, allocations: 104.6 kB / 0.6925 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.501, allocations: 49.22 kB / 0.6926 GB, free: 4.527 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002015/1.503, allocations: 1.512 MB / 0.6941 GB, free: 3.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.503, allocations: 0 / 0.6941 GB, free: 3.004 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004345/1.508, allocations: 0.7475 MB / 0.6948 GB, free: 2.262 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 () * 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.0004842/1.508, allocations: 151.5 kB / 0.6949 GB, free: 2.113 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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.01181/1.52, allocations: 6.515 MB / 0.7013 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.52, allocations: 4 kB / 0.7013 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006262/1.526, allocations: 3.153 MB / 0.7044 GB, free: 8.188 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.528, allocations: 219.4 kB / 0.7046 GB, free: 7.977 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/1.539, allocations: 6.241 MB / 0.7107 GB, free: 1.734 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2651/1.804, allocations: 2.36 MB / 0.713 GB, free: 113.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005126/1.809, allocations: 1.64 MB / 0.7146 GB, free: 113.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/1.81, allocations: 192.9 kB / 0.7148 GB, free: 113.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/1.81, allocations: 3.562 kB / 0.7148 GB, free: 113.1 MB / 442.7 MB Notification: Performance of Templates: time 0.06687/1.877, allocations: 38.81 MB / 0.7527 GB, free: 109.7 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches