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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
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)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.88 kB / 378.8 MB, free: 2.785 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2386, allocations: 53.37 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008754/0.2473, allocations: 7.059 MB / 439.2 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006276/0.2536, allocations: 3.201 MB / 442.4 MB, free: 12.78 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000771/0.2544, allocations: 35.81 kB / 442.4 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00196/0.2563, allocations: 0.9146 MB / 443.3 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003167/0.2595, allocations: 1.377 MB / 444.7 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.2606, allocations: 0.5264 MB / 445.2 MB, free: 9.922 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003692/0.2643, allocations: 2.751 MB / 448 MB, free: 7.168 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.2657, allocations: 1.084 MB / 449.1 MB, free: 6.07 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.267, allocations: 0.8759 MB / 450 MB, free: 5.191 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.27, allocations: 2.256 MB / 452.2 MB, free: 2.93 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.2706, allocations: 180 kB / 452.4 MB, free: 2.754 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2726, allocations: 0.9984 MB / 453.4 MB, free: 1.754 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001276/0.2738, allocations: 1.145 MB / 454.5 MB, free: 0.6055 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001476/0.2753, allocations: 1.289 MB / 455.8 MB, free: 15.31 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005317/0.2806, allocations: 4.406 MB / 460.2 MB, free: 10.89 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2806, allocations: 0 / 460.2 MB, free: 10.89 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.843e-06/0.2806, allocations: 4 kB / 460.2 MB, free: 10.89 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 8.742e-05/0.2807, allocations: 3.938 kB / 460.2 MB, free: 10.88 MB / 366.1 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.008497/0.2892, allocations: 3.341 MB / 463.6 MB, free: 7.496 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2893, allocations: 8.031 kB / 463.6 MB, free: 7.488 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00641/0.2957, allocations: 1.676 MB / 465.3 MB, free: 5.809 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.2996, allocations: 1.438 MB / 466.7 MB, free: 4.336 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.2997, allocations: 123.2 kB / 466.8 MB, free: 4.215 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/0.3002, allocations: 175.8 kB / 467 MB, free: 4.043 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.3114, allocations: 6.592 MB / 473.6 MB, free: 12.91 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.3115, allocations: 35.73 kB / 473.6 MB, free: 12.88 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/0.3119, allocations: 91.89 kB / 473.7 MB, free: 12.79 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/0.3141, allocations: 1.319 MB / 475 MB, free: 11.47 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.3252, allocations: 5.847 MB / 480.9 MB, free: 5.617 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03752/0.3627, allocations: 27.9 MB / 0.4968 GB, free: 8.863 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00707/0.3698, allocations: 2.253 MB / 0.499 GB, free: 6.57 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.3718, allocations: 1.228 MB / 0.5002 GB, free: 5.328 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.3724, allocations: 188.2 kB / 0.5004 GB, free: 5.145 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.3725, allocations: 47 kB / 0.5005 GB, free: 5.09 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=129): time 4.168e-06/0.3725, allocations: 0 / 0.5005 GB, free: 5.09 MB / 414.1 MB
Notification: Performance of matching and sorting (n=163): time 0.07777/0.4502, allocations: 20.91 MB / 0.5209 GB, free: 124 kB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.4504, allocations: 171.2 kB / 0.5211 GB, free: 15.91 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.4544, allocations: 2.796 MB / 0.5238 GB, free: 13.1 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003427/0.4547, allocations: 45.7 kB / 0.5238 GB, free: 13.05 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.4564, allocations: 2.167 MB / 0.5259 GB, free: 10.86 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0009977/0.4574, allocations: 0.659 MB / 0.5266 GB, free: 10.2 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.459, allocations: 1.004 MB / 0.5276 GB, free: 9.18 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001556/0.4592, allocations: 309.1 kB / 0.5279 GB, free: 8.875 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/0.4628, allocations: 2.227 MB / 0.53 GB, free: 6.641 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006161/0.4689, allocations: 5.154 MB / 0.5351 GB, free: 32 kB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.2169/0.6858, allocations: 7.967 MB / 0.5428 GB, free: 91.88 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.36e-05/0.6859, allocations: 30 kB / 0.5429 GB, free: 91.88 MB / 446.1 MB
Notification: Performance of matching and sorting (n=645) (initialization): time 0.02109/0.7069, allocations: 10.28 MB / 0.5529 GB, free: 88.62 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.707, allocations: 46.34 kB / 0.553 GB, free: 88.62 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.465e-05/0.7071, allocations: 107.7 kB / 0.5531 GB, free: 88.62 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/0.7183, allocations: 3.433 MB / 0.5564 GB, free: 87.59 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/0.7212, allocations: 1.084 MB / 0.5575 GB, free: 86.51 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/0.7374, allocations: 12.74 MB / 0.5699 GB, free: 73.71 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/0.742, allocations: 344.8 kB / 0.5702 GB, free: 73.4 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008332/0.7428, allocations: 311.2 kB / 0.5705 GB, free: 73.1 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 469
 * 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 (577):
 * Single equations (assignments): 566
 * Array equations: 4
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 6
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 6 systems
   {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(6,23,80.6%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003248/0.746, allocations: 1.456 MB / 0.572 GB, free: 71.7 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009109/0.7469, allocations: 260.3 kB / 0.5722 GB, free: 71.59 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02292/0.7699, allocations: 5.972 MB / 0.578 GB, free: 65.59 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.48e-05/0.7699, allocations: 35.44 kB / 0.5781 GB, free: 65.55 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.77, allocations: 8 kB / 0.5781 GB, free: 65.55 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.333e-05/0.77, allocations: 7.969 kB / 0.5781 GB, free: 65.54 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04743/0.8174, allocations: 13.19 MB / 0.591 GB, free: 52.4 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/0.8175, allocations: 4 kB / 0.591 GB, free: 52.4 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.8196, allocations: 231.7 kB / 0.5912 GB, free: 52.17 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.02287/0.8425, allocations: 4.007 MB / 0.5951 GB, free: 48.14 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004078/0.8429, allocations: 47.95 kB / 0.5952 GB, free: 48.1 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.8623, allocations: 12.73 MB / 0.6076 GB, free: 35.27 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8623, allocations: 4 kB / 0.6076 GB, free: 35.26 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/0.8809, allocations: 10.07 MB / 0.6174 GB, free: 25.14 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.8815, allocations: 238.6 kB / 0.6176 GB, free: 24.92 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/0.8819, allocations: 38.61 kB / 0.6177 GB, free: 24.88 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.8835, allocations: 187.7 kB / 0.6179 GB, free: 24.7 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003694/0.8839, allocations: 120.1 kB / 0.618 GB, free: 24.59 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8841, allocations: 51.97 kB / 0.618 GB, free: 24.54 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001883/0.8859, allocations: 1.734 MB / 0.6197 GB, free: 22.79 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.8859, allocations: 0 / 0.6197 GB, free: 22.79 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003432/0.8894, allocations: 0.8093 MB / 0.6205 GB, free: 21.99 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * 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 (105):
 * Single equations (assignments): 94
 * Array equations: 4
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 6
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 6 systems
   {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(6,19,80.6%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003862/0.8898, allocations: 168.2 kB / 0.6207 GB, free: 21.83 MB / 446.1 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 can't be selected as a state.
[/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 can't be selected as a state.
Notification: Performance of simCode: created initialization part: time 0.008902/0.8987, allocations: 5.576 MB / 0.6261 GB, free: 16.25 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.8987, allocations: 0 / 0.6261 GB, free: 16.25 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.004519/0.9032, allocations: 2.279 MB / 0.6283 GB, free: 13.95 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.9052, allocations: 288.6 kB / 0.6286 GB, free: 13.66 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009523/0.9147, allocations: 7.433 MB / 0.6359 GB, free: 6.219 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.9165, allocations: 2.322 MB / 0.6381 GB, free: 3.863 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002672/0.9191, allocations: 1.507 MB / 0.6396 GB, free: 2.352 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.9196, allocations: 190.1 kB / 0.6398 GB, free: 2.172 MB / 446.1 MB
Notification: Performance of SimCode: time 1.072e-06/0.9196, allocations: 3.938 kB / 0.6398 GB, free: 2.168 MB / 446.1 MB
Notification: Performance of Templates: time 0.07979/0.9994, allocations: 43.36 MB / 0.6821 GB, free: 6.984 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.529377774335444]