Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.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.001773/0.001773, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002123/0.002123, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.611/1.611, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash")
translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash") [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.002012/0.002012, allocations: 56.78 kB / 379 MB, free: 2.648 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2445, allocations: 53.38 MB / 432.4 MB, free: 6.945 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004687/0.2492, allocations: 2.467 MB / 434.9 MB, free: 4.469 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001422/0.2507, allocations: 0.7795 MB / 435.6 MB, free: 3.688 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2508, allocations: 11.94 kB / 435.7 MB, free: 3.676 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.251, allocations: 47.52 kB / 435.7 MB, free: 3.629 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.2512, allocations: 111.1 kB / 435.8 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.2515, allocations: 119.8 kB / 435.9 MB, free: 3.402 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005629/0.2521, allocations: 466.2 kB / 436.4 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2523, allocations: 61.09 kB / 436.4 MB, free: 2.879 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.2526, allocations: 199.3 kB / 436.6 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.2529, allocations: 207.3 kB / 436.8 MB, free: 2.48 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.253, allocations: 36 kB / 436.9 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.253, allocations: 40 kB / 436.9 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.2531, allocations: 91.73 kB / 437 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.2534, allocations: 175.3 kB / 437.2 MB, free: 2.145 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.2539, allocations: 420.1 kB / 437.6 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2539, allocations: 0 / 437.6 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.202e-06/0.2539, allocations: 0 / 437.6 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.292e-06/0.254, allocations: 0 / 437.6 MB, free: 1.738 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: 62
 * Number of variables: 62
Notification: Performance of Generate backend data structure: time 0.00154/0.2555, allocations: 0.6105 MB / 438.2 MB, free: 1.098 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2555, allocations: 12.03 kB / 438.2 MB, free: 1.086 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.2556, allocations: 32.75 kB / 438.2 MB, free: 1.055 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.256, allocations: 214 kB / 438.5 MB, free: 0.8203 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.2561, allocations: 84.2 kB / 438.5 MB, free: 0.7266 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.2562, allocations: 28 kB / 438.6 MB, free: 0.6992 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.2571, allocations: 378.4 kB / 438.9 MB, free: 320 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.2572, allocations: 7.938 kB / 438.9 MB, free: 312 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.2572, allocations: 8 kB / 438.9 MB, free: 304 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2572, allocations: 11.98 kB / 439 MB, free: 292 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2584, allocations: 391.6 kB / 439.3 MB, free: 15.9 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.2599, allocations: 0.9419 MB / 440.3 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.2609, allocations: 379.6 kB / 440.7 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.2615, allocations: 218.4 kB / 440.9 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.2616, allocations: 11.92 kB / 440.9 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.2616, allocations: 38.56 kB / 440.9 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.2616, allocations: 3.938 kB / 440.9 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of matching and sorting (n=38): time 0.00475/0.2664, allocations: 1.876 MB / 442.8 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.2664, allocations: 110.8 kB / 442.9 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.2667, allocations: 203.2 kB / 443.1 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.2667, allocations: 33.7 kB / 443.1 MB, free: 11.82 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2668, allocations: 144.8 kB / 443.3 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.2669, allocations: 154.7 kB / 443.4 MB, free: 11.52 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.2671, allocations: 74.06 kB / 443.5 MB, free: 11.44 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002101/0.2673, allocations: 338.8 kB / 443.8 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.2677, allocations: 108.8 kB / 443.9 MB, free: 10.99 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.268, allocations: 165.5 kB / 444.1 MB, free: 10.82 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.2688, allocations: 287.5 kB / 444.4 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2688, allocations: 4 kB / 444.4 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008288/0.2696, allocations: 368.7 kB / 444.7 MB, free: 10.15 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2696, allocations: 8 kB / 444.7 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2696, allocations: 0 / 444.7 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2697, allocations: 7.938 kB / 444.8 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.2703, allocations: 151.8 kB / 444.9 MB, free: 9.988 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2704, allocations: 4 kB / 444.9 MB, free: 9.984 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.2706, allocations: 23.98 kB / 444.9 MB, free: 9.961 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.2706, allocations: 16 kB / 444.9 MB, free: 9.945 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (47):
 * Single equations (assignments): 47
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.2708, allocations: 145.8 kB / 445.1 MB, free: 9.793 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2709, allocations: 32.69 kB / 445.1 MB, free: 9.762 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.2709, allocations: 29.47 kB / 445.2 MB, free: 9.734 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2709, allocations: 15.98 kB / 445.2 MB, free: 9.719 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.271, allocations: 0 / 445.2 MB, free: 9.719 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.271, allocations: 0 / 445.2 MB, free: 9.719 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.2735, allocations: 1.298 MB / 446.5 MB, free: 8.332 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2735, allocations: 4 kB / 446.5 MB, free: 8.328 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.2744, allocations: 168 kB / 446.6 MB, free: 8.164 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2744, allocations: 4 kB / 446.6 MB, free: 8.16 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.2744, allocations: 23.92 kB / 446.7 MB, free: 8.137 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2744, allocations: 0 / 446.7 MB, free: 8.137 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2744, allocations: 4 kB / 446.7 MB, free: 8.133 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.2764, allocations: 0.9608 MB / 447.6 MB, free: 7.133 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.2765, allocations: 55.83 kB / 447.7 MB, free: 7.078 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.2766, allocations: 11.94 kB / 447.7 MB, free: 7.066 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.277, allocations: 48.08 kB / 447.7 MB, free: 7.02 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2772, allocations: 47.86 kB / 447.8 MB, free: 6.973 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.2772, allocations: 12 kB / 447.8 MB, free: 6.961 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001431/0.2773, allocations: 152.6 kB / 447.9 MB, free: 6.812 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2773, allocations: 0 / 447.9 MB, free: 6.812 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004376/0.2778, allocations: 87.94 kB / 448 MB, free: 6.727 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 9
 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel)
 * 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 (38):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.2779, allocations: 109.7 kB / 448.1 MB, free: 6.609 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009896/0.2789, allocations: 354.5 kB / 448.5 MB, free: 6.266 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2789, allocations: 0 / 448.5 MB, free: 6.266 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.2795, allocations: 236.2 kB / 448.7 MB, free: 6.035 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.2802, allocations: 73 kB / 448.8 MB, free: 5.965 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.2851, allocations: 1.44 MB / 450.2 MB, free: 4.473 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.2855, allocations: 0.7721 MB / 451 MB, free: 3.672 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001652/0.2857, allocations: 34.97 kB / 451 MB, free: 3.637 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.2858, allocations: 31.42 kB / 451.1 MB, free: 3.609 MB / 350.1 MB
Notification: Performance of SimCode: time 4.61e-07/0.2858, allocations: 7.938 kB / 451.1 MB, free: 3.602 MB / 350.1 MB
Notification: Performance of Templates: time 0.009398/0.2952, allocations: 4.595 MB / 455.7 MB, free: 15.05 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.Backlash.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.668517147190869]