Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 199 kB / 8.767 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009639/0.0009641, allocations: 102.8 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.815e-05/1.806e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4814, allocations: 90.77 MB / 485.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.4818, allocations: 88.09 kB / 486 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1676/0.6494, allocations: 61.7 MB / 0.5349 GB, free: 9.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6495, allocations: 0 / 0.5349 GB, free: 9.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001433/0.6496, allocations: 44 kB / 0.5349 GB, free: 9.582 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.01291/0.6626, allocations: 3.016 MB / 0.5379 GB, free: 6.512 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.6626, allocations: 8.031 kB / 0.5379 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/0.6723, allocations: 1.943 MB / 0.5398 GB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009329/0.6817, allocations: 2.793 MB / 0.5425 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.682, allocations: 80 kB / 0.5426 GB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/0.6835, allocations: 139.9 kB / 0.5427 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00923/0.6928, allocations: 4.284 MB / 0.5469 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.7073, allocations: 6.6 MB / 0.5533 GB, free: 5.762 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.7075, allocations: 43.62 kB / 0.5534 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009928/0.7085, allocations: 24 kB / 0.5534 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/0.7098, allocations: 0.7417 MB / 0.5541 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3213/1.031, allocations: 35.59 MB / 0.5889 GB, free: 74.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/1.034, allocations: 2.324 MB / 0.5912 GB, free: 73.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.035, allocations: 1.363 MB / 0.5925 GB, free: 73.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/1.036, allocations: 0.6335 MB / 0.5931 GB, free: 72.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/1.036, allocations: 58.81 kB / 0.5932 GB, free: 72.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 4.489e-06/1.036, allocations: 0 / 0.5932 GB, free: 72.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=152): time 0.03705/1.073, allocations: 15.76 MB / 0.6086 GB, free: 71.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.073, allocations: 145.5 kB / 0.6087 GB, free: 71.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/1.077, allocations: 2.291 MB / 0.6109 GB, free: 70.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003594/1.077, allocations: 29.58 kB / 0.611 GB, free: 70.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.078, allocations: 2.163 MB / 0.6131 GB, free: 69.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/1.079, allocations: 0.5808 MB / 0.6136 GB, free: 69.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.079, allocations: 0 / 0.6136 GB, free: 69.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/1.079, allocations: 0.57 MB / 0.6142 GB, free: 69.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/1.082, allocations: 2.26 MB / 0.6164 GB, free: 68.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/1.085, allocations: 5.32 MB / 0.6216 GB, free: 63.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004711/1.09, allocations: 3.408 MB / 0.6249 GB, free: 62.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.346e-05/1.09, allocations: 31.62 kB / 0.625 GB, free: 62.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=664) (initialization): time 0.02504/1.115, allocations: 10.63 MB / 0.6353 GB, free: 59.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.115, allocations: 54.53 kB / 0.6354 GB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.115, allocations: 110.9 kB / 0.6355 GB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01443/1.13, allocations: 4.105 MB / 0.6395 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/1.134, allocations: 1.175 MB / 0.6406 GB, free: 58.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/1.154, allocations: 12.69 MB / 0.653 GB, free: 53.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/1.159, allocations: 259.6 kB / 0.6533 GB, free: 53.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.16, allocations: 355.3 kB / 0.6536 GB, free: 53.19 MB / 442.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.0009599/1.161, allocations: 376.4 kB / 0.654 GB, free: 52.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006327/1.161, allocations: 237.8 kB / 0.6542 GB, free: 52.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/1.178, allocations: 6.707 MB / 0.6608 GB, free: 50.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/1.178, allocations: 17.66 kB / 0.6608 GB, free: 50.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/1.178, allocations: 20.14 kB / 0.6608 GB, free: 50.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.178, allocations: 6.094 kB / 0.6608 GB, free: 50.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.205, allocations: 13.8 MB / 0.6743 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/1.205, allocations: 6.375 kB / 0.6743 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.206, allocations: 221.1 kB / 0.6745 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01391/1.22, allocations: 4.672 MB / 0.6791 GB, free: 44.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004253/1.221, allocations: 26.64 kB / 0.6791 GB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/1.239, allocations: 12.69 MB / 0.6915 GB, free: 33.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.239, allocations: 0 / 0.6915 GB, free: 33.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02021/1.259, allocations: 10.82 MB / 0.7021 GB, free: 22.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/1.26, allocations: 317.8 kB / 0.7024 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/1.26, allocations: 15.98 kB / 0.7024 GB, free: 22.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.262, allocations: 182.4 kB / 0.7025 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/1.262, allocations: 108.6 kB / 0.7026 GB, free: 21.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.262, allocations: 55.34 kB / 0.7027 GB, free: 21.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002053/1.264, allocations: 1.508 MB / 0.7042 GB, free: 20.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.264, allocations: 0 / 0.7042 GB, free: 20.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004897/1.269, allocations: 0.7502 MB / 0.7049 GB, free: 19.61 MB / 442.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.0005075/1.27, allocations: 154.1 kB / 0.7051 GB, free: 19.46 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.01093/1.281, allocations: 6.508 MB / 0.7114 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.281, allocations: 0 / 0.7114 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005623/1.286, allocations: 3.155 MB / 0.7145 GB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/1.288, allocations: 211.9 kB / 0.7147 GB, free: 9.344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.299, allocations: 6.25 MB / 0.7208 GB, free: 3.098 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.301, allocations: 2.378 MB / 0.7231 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004081/1.305, allocations: 1.637 MB / 0.7247 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005738/1.306, allocations: 195.3 kB / 0.7249 GB, free: 14.89 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/1.306, allocations: 0 / 0.7249 GB, free: 14.89 MB / 458.7 MB Notification: Performance of Templates: time 0.3331/1.639, allocations: 38.79 MB / 0.7628 GB, free: 117.6 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches