Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.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.001341/0.001341, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001619/0.001619, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel")
translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 68.7 kB / 379 MB, free: 2.684 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2826, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003529/0.2861, allocations: 2.153 MB / 434.5 MB, free: 4.812 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001095/0.2872, allocations: 0.5842 MB / 435.1 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2873, allocations: 4 kB / 435.1 MB, free: 4.219 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.2875, allocations: 35.64 kB / 435.2 MB, free: 4.184 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.2876, allocations: 51.56 kB / 435.2 MB, free: 4.133 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.2878, allocations: 63.81 kB / 435.3 MB, free: 4.07 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002556/0.288, allocations: 203.1 kB / 435.5 MB, free: 3.871 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2882, allocations: 49.78 kB / 435.5 MB, free: 3.82 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.2883, allocations: 79.72 kB / 435.6 MB, free: 3.742 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.2884, allocations: 79.62 kB / 435.7 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2885, allocations: 16 kB / 435.7 MB, free: 3.648 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.002e-05/0.2885, allocations: 16 kB / 435.7 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.2885, allocations: 39.89 kB / 435.8 MB, free: 3.594 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.2886, allocations: 95.55 kB / 435.8 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.2889, allocations: 212.8 kB / 436.1 MB, free: 3.297 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2889, allocations: 4 kB / 436.1 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of FrontEnd: time 3.055e-06/0.2889, allocations: 4 kB / 436.1 MB, free: 3.289 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.004e-05/0.2889, allocations: 0 / 436.1 MB, free: 3.289 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 41
 * Number of variables: 41
Notification: Performance of Generate backend data structure: time 0.0006418/0.2896, allocations: 393.5 kB / 436.4 MB, free: 2.875 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2896, allocations: 12.03 kB / 436.5 MB, free: 2.863 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.2897, allocations: 20.83 kB / 436.5 MB, free: 2.844 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.2899, allocations: 170.2 kB / 436.6 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.29, allocations: 16.16 kB / 436.7 MB, free: 2.637 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.29, allocations: 16.38 kB / 436.7 MB, free: 2.621 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.2903, allocations: 153.9 kB / 436.8 MB, free: 2.465 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2904, allocations: 0 / 436.8 MB, free: 2.465 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2904, allocations: 11.94 kB / 436.8 MB, free: 2.453 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2904, allocations: 4 kB / 436.8 MB, free: 2.449 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.2906, allocations: 107.7 kB / 436.9 MB, free: 2.344 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009124/0.2915, allocations: 0.5529 MB / 437.5 MB, free: 1.742 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.2918, allocations: 102.6 kB / 437.6 MB, free: 1.633 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.2919, allocations: 40.84 kB / 437.6 MB, free: 1.59 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2919, allocations: 0 / 437.6 MB, free: 1.59 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.2919, allocations: 46.5 kB / 437.7 MB, free: 1.535 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.2919, allocations: 0 / 437.7 MB, free: 1.535 MB / 334.1 MB
Notification: Performance of matching and sorting (n=18): time 0.001505/0.2934, allocations: 0.6456 MB / 438.3 MB, free: 0.8359 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2935, allocations: 59.41 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2936, allocations: 158.2 kB / 438.5 MB, free: 0.6016 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2937, allocations: 29.7 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.2937, allocations: 136.3 kB / 438.7 MB, free: 440 kB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.2938, allocations: 67.38 kB / 438.8 MB, free: 372 kB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.2939, allocations: 37.7 kB / 438.8 MB, free: 328 kB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001609/0.294, allocations: 326.8 kB / 439.1 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2941, allocations: 47.98 kB / 439.2 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2943, allocations: 71.41 kB / 439.2 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.2945, allocations: 138.2 kB / 439.4 MB, free: 15.72 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2945, allocations: 4 kB / 439.4 MB, free: 15.71 MB / 350.1 MB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003968/0.2949, allocations: 202.2 kB / 439.6 MB, free: 15.51 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2949, allocations: 7.984 kB / 439.6 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2949, allocations: 0 / 439.6 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.2951, allocations: 36.84 kB / 439.6 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2953, allocations: 39.92 kB / 439.7 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.2967, allocations: 1.432 MB / 441.1 MB, free: 13.88 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/0.2967, allocations: 11.97 kB / 441.1 MB, free: 13.86 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.2968, allocations: 8 kB / 441.1 MB, free: 13.86 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (18):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.2969, allocations: 131.8 kB / 441.2 MB, free: 13.72 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.2969, allocations: 15.91 kB / 441.3 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.297, allocations: 25.11 kB / 441.3 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.297, allocations: 0 / 441.3 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.297, allocations: 4 kB / 441.3 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.297, allocations: 8 kB / 441.3 MB, free: 13.67 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.2978, allocations: 0.5517 MB / 441.8 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2978, allocations: 0 / 441.8 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.298, allocations: 31.92 kB / 441.9 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.2981, allocations: 28.84 kB / 441.9 MB, free: 12.99 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2981, allocations: 8 kB / 441.9 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.2994, allocations: 1.381 MB / 443.3 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2994, allocations: 0 / 443.3 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.2999, allocations: 340 kB / 443.6 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.2999, allocations: 7.984 kB / 443.6 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.2999, allocations: 4 kB / 443.6 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3, allocations: 12.11 kB / 443.7 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3001, allocations: 7.984 kB / 443.7 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3001, allocations: 8 kB / 443.7 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001069/0.3002, allocations: 120.1 kB / 443.8 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3002, allocations: 0 / 443.8 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002897/0.3005, allocations: 40 kB / 443.8 MB, free: 10.94 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (inertia.phi,inertia.w)
 * 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 (15):
 * Single equations (assignments): 14
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001131/0.3006, allocations: 107.2 kB / 443.9 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004924/0.3011, allocations: 249 kB / 444.2 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3011, allocations: 0 / 444.2 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.3014, allocations: 186.6 kB / 444.4 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3017, allocations: 31.83 kB / 444.4 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.3026, allocations: 0.5041 MB / 444.9 MB, free: 9.812 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.303, allocations: 0.732 MB / 445.6 MB, free: 9.055 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 6.415e-05/0.3031, allocations: 17.42 kB / 445.6 MB, free: 9.039 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.3031, allocations: 15.44 kB / 445.7 MB, free: 9.023 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3031, allocations: 0 / 445.7 MB, free: 9.023 MB / 350.1 MB
Notification: Performance of Templates: time 0.005536/0.3087, allocations: 1.985 MB / 447.6 MB, free: 7.051 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.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: 4.604868318885565]