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.001584/0.001584, allocations: 173.7 kB / 16.41 MB, free: 5.684 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.389/1.389, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007262/0.0007264, allocations: 86.02 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003542, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01089/0.2808, allocations: 12.56 MB / 387.1 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.289, allocations: 4.072 MB / 391.2 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.2907, allocations: 55.88 kB / 391.2 MB, free: 32.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.2916, allocations: 0.5988 MB / 391.8 MB, free: 31.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003652/0.2953, allocations: 2.168 MB / 394 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.2961, allocations: 439.3 kB / 394.4 MB, free: 28.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01533/0.3114, allocations: 17.65 MB / 412.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.3139, allocations: 1.553 MB / 413.6 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.3149, allocations: 0.7355 MB / 414.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.3161, allocations: 1.238 MB / 415.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.3163, allocations: 88 kB / 415.7 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3176, allocations: 0.7722 MB / 416.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.3182, allocations: 1.04 MB / 417.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.3185, allocations: 0.5079 MB / 418 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.3206, allocations: 3.345 MB / 421.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3206, allocations: 0 / 421.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3206, allocations: 0 / 421.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.047e-05/0.3206, allocations: 0 / 421.4 MB, free: 1.918 MB / 298.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.004867/0.3255, allocations: 2.766 MB / 424.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3255, allocations: 16.02 kB / 424.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.331, allocations: 1.697 MB / 425.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.3338, allocations: 1.541 MB / 427.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3339, allocations: 127.2 kB / 427.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.3342, allocations: 171.9 kB / 427.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008867/0.3431, allocations: 6.592 MB / 434.3 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/0.3432, allocations: 31.66 kB / 434.3 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.3434, allocations: 87.89 kB / 434.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/0.3453, allocations: 1.331 MB / 435.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009442/0.3548, allocations: 5.824 MB / 441.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03069/0.3855, allocations: 28.09 MB / 469.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.3914, allocations: 2.737 MB / 472.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.393, allocations: 1.271 MB / 473.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/0.3938, allocations: 0.6356 MB / 474.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3938, allocations: 51.06 kB / 474.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 4.879e-06/0.3938, allocations: 0 / 474.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=154): time 0.07093/0.4648, allocations: 20.6 MB / 494.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.4649, allocations: 141.5 kB / 495.1 MB, free: 6.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00478/0.4697, allocations: 2.828 MB / 497.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.47, allocations: 45.7 kB / 497.9 MB, free: 3.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.4719, allocations: 2.102 MB / 0.4883 GB, free: 1.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000799/0.4727, allocations: 0.6055 MB / 0.4889 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.473, allocations: 99.98 kB / 0.489 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003613/0.4734, allocations: 0.5165 MB / 0.4895 GB, free: 28 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2177/0.6911, allocations: 2.2 MB / 0.4916 GB, free: 109.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/0.6961, allocations: 5.167 MB / 0.4967 GB, free: 105.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/0.701, allocations: 3.306 MB / 0.4999 GB, free: 103.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.45e-05/0.7011, allocations: 29.12 kB / 0.4999 GB, free: 103.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02058/0.7217, allocations: 10.29 MB / 0.51 GB, free: 99.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.7218, allocations: 48 kB / 0.51 GB, free: 99.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.381e-05/0.7219, allocations: 104 kB / 0.5101 GB, free: 99.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/0.7329, allocations: 3.514 MB / 0.5136 GB, free: 96.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/0.7363, allocations: 1.107 MB / 0.5147 GB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.7517, allocations: 12.04 MB / 0.5264 GB, free: 82.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004132/0.7559, allocations: 337.5 kB / 0.5267 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004473/0.7564, allocations: 308 kB / 0.527 GB, free: 82.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (585): * Single equations (assignments): 575 * 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 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002045/0.7584, allocations: 1.473 MB / 0.5285 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.7589, allocations: 245.1 kB / 0.5287 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.7726, allocations: 6.033 MB / 0.5346 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.7727, allocations: 18.11 kB / 0.5346 GB, free: 74.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.7727, allocations: 11 kB / 0.5346 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.7727, allocations: 15.92 kB / 0.5346 GB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02462/0.7974, allocations: 13.2 MB / 0.5475 GB, free: 61.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.7974, allocations: 4 kB / 0.5475 GB, free: 61.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7985, allocations: 231.6 kB / 0.5477 GB, free: 61.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/0.8099, allocations: 4.139 MB / 0.5518 GB, free: 57.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/0.8102, allocations: 39.95 kB / 0.5518 GB, free: 57.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/0.8251, allocations: 12.1 MB / 0.5636 GB, free: 44.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.8251, allocations: 0 / 0.5636 GB, free: 44.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/0.8432, allocations: 9.925 MB / 0.5733 GB, free: 34.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008444/0.8441, allocations: 317.6 kB / 0.5736 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.8445, allocations: 35.83 kB / 0.5737 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.846, allocations: 191.7 kB / 0.5739 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/0.8463, allocations: 104.8 kB / 0.574 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.8465, allocations: 51.97 kB / 0.574 GB, free: 34.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002291/0.8488, allocations: 1.755 MB / 0.5757 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8488, allocations: 0 / 0.5757 GB, free: 32.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004027/0.8528, allocations: 0.8229 MB / 0.5765 GB, free: 31.6 MB / 378.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 (104): * Single equations (assignments): 94 * 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 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000447/0.8533, allocations: 164.2 kB / 0.5767 GB, free: 31.44 MB / 378.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.008863/0.8621, allocations: 6.206 MB / 0.5827 GB, free: 25.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8622, allocations: 0 / 0.5827 GB, free: 25.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004283/0.8665, allocations: 2.859 MB / 0.5855 GB, free: 22.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.8683, allocations: 296.5 kB / 0.5858 GB, free: 21.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.8787, allocations: 8.697 MB / 0.5943 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/0.8805, allocations: 2.322 MB / 0.5966 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/0.8812, allocations: 219.4 kB / 0.5968 GB, free: 10.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.8812, allocations: 3.938 kB / 0.5968 GB, free: 10.52 MB / 378.7 MB Notification: Performance of Templates: time 0.3103/1.192, allocations: 128.8 MB / 0.7226 GB, free: 81.04 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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches