Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001508/0.001508, 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.002306/0.002306, 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 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.677/1.677, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [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.001962/0.001962, allocations: 64.77 kB / 379 MB, free: 2.617 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3289, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002926/0.3319, allocations: 1.499 MB / 433.9 MB, free: 5.457 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002222/0.3321, allocations: 39.84 kB / 433.9 MB, free: 5.418 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.3322, allocations: 0 / 433.9 MB, free: 5.418 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.3322, allocations: 3.938 kB / 433.9 MB, free: 5.414 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.3322, allocations: 3.938 kB / 434 MB, free: 5.41 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.3325, allocations: 27.91 kB / 434 MB, free: 5.383 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3326, allocations: 39.91 kB / 434 MB, free: 5.344 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3327, allocations: 15.92 kB / 434 MB, free: 5.328 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.3328, allocations: 15.98 kB / 434 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.3328, allocations: 15.92 kB / 434.1 MB, free: 5.297 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3329, allocations: 7.938 kB / 434.1 MB, free: 5.289 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.3329, allocations: 4 kB / 434.1 MB, free: 5.285 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.3329, allocations: 11.94 kB / 434.1 MB, free: 5.273 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.3329, allocations: 15.92 kB / 434.1 MB, free: 5.258 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3331, allocations: 42.77 kB / 434.1 MB, free: 5.219 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3331, allocations: 0 / 434.1 MB, free: 5.219 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.402e-06/0.3331, allocations: 4 kB / 434.1 MB, free: 5.215 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 9.899e-06/0.3331, allocations: 0 / 434.1 MB, free: 5.215 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005668/0.3336, allocations: 282 kB / 434.4 MB, free: 4.91 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3337, allocations: 8.031 kB / 434.4 MB, free: 4.902 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3337, allocations: 8.891 kB / 434.4 MB, free: 4.895 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3339, allocations: 118.4 kB / 434.6 MB, free: 4.754 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.334, allocations: 8.375 kB / 434.6 MB, free: 4.746 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.334, allocations: 384 / 434.6 MB, free: 4.746 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.3346, allocations: 159.8 kB / 434.7 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3346, allocations: 192 / 434.7 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3346, allocations: 3.938 kB / 434.7 MB, free: 4.574 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3346, allocations: 0 / 434.7 MB, free: 4.574 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.3349, allocations: 55.88 kB / 434.8 MB, free: 4.52 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.3351, allocations: 136.7 kB / 434.9 MB, free: 4.344 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.3354, allocations: 78.52 kB / 435 MB, free: 4.258 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.3355, allocations: 44.89 kB / 435 MB, free: 4.211 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3355, allocations: 0 / 435 MB, free: 4.211 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3356, allocations: 34.56 kB / 435.1 MB, free: 4.168 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.3356, allocations: 3.938 kB / 435.1 MB, free: 4.164 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0004685/0.336, allocations: 117.5 kB / 435.2 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.3361, allocations: 51.41 kB / 435.2 MB, free: 3.98 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3362, allocations: 109.8 kB / 435.3 MB, free: 3.863 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3362, allocations: 29.7 kB / 435.4 MB, free: 3.828 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.3363, allocations: 88.14 kB / 435.5 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3363, allocations: 7.938 kB / 435.5 MB, free: 3.73 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3363, allocations: 17.72 kB / 435.5 MB, free: 3.707 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001564/0.3365, allocations: 314.8 kB / 435.8 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.3365, allocations: 4 kB / 435.8 MB, free: 3.387 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.363e-05/0.3365, allocations: 31.42 kB / 435.8 MB, free: 3.344 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.3366, allocations: 39.38 kB / 435.9 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3366, allocations: 4 kB / 435.9 MB, free: 3.289 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.08e-05/0.3367, allocations: 57.69 kB / 435.9 MB, free: 3.227 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3367, allocations: 8 kB / 435.9 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3367, allocations: 12.06 kB / 435.9 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3367, allocations: 0 / 435.9 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.3368, allocations: 8 kB / 436 MB, free: 3.199 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3368, allocations: 3.938 kB / 436 MB, free: 3.195 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.3368, allocations: 8 kB / 436 MB, free: 3.188 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.3368, allocations: 0 / 436 MB, free: 3.188 MB / 334.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: 2 ($CLKPRE.ramp.counter,ramp.counter)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (ramp.counter)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (5):
 * Single equations (assignments): 5
 * 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.0001037/0.3369, allocations: 113.8 kB / 436.1 MB, free: 3.066 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.3372, allocations: 93.53 kB / 436.2 MB, free: 2.969 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.3372, allocations: 11.94 kB / 436.2 MB, free: 2.949 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3372, allocations: 4 kB / 436.2 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3372, allocations: 0 / 436.2 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3372, allocations: 0 / 436.2 MB, free: 2.945 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.3374, allocations: 132.7 kB / 436.3 MB, free: 2.773 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3374, allocations: 0 / 436.3 MB, free: 2.773 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.3375, allocations: 19.98 kB / 436.3 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3375, allocations: 3.938 kB / 436.3 MB, free: 2.75 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3375, allocations: 3.938 kB / 436.3 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3375, allocations: 0 / 436.3 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3375, allocations: 0 / 436.3 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.3378, allocations: 121 kB / 436.5 MB, free: 2.609 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.3378, allocations: 8.281 kB / 436.5 MB, free: 2.602 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.3378, allocations: 3.938 kB / 436.5 MB, free: 2.598 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.3379, allocations: 7.984 kB / 436.5 MB, free: 2.59 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-06/0.3379, allocations: 3.984 kB / 436.5 MB, free: 2.586 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3379, allocations: 0 / 436.5 MB, free: 2.586 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.503e-05/0.3379, allocations: 91.58 kB / 436.6 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3379, allocations: 0 / 436.6 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.00018/0.3381, allocations: 4 kB / 436.6 MB, free: 2.492 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (ramp.counter)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (ramp.counter)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 4
 * 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.0001217/0.3382, allocations: 99.25 kB / 436.7 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.000234/0.3385, allocations: 47.89 kB / 436.7 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3385, allocations: 0 / 436.7 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.3385, allocations: 0 / 436.7 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3388, allocations: 32.98 kB / 436.7 MB, free: 2.309 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.3392, allocations: 133.8 kB / 436.9 MB, free: 2.152 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3396, allocations: 0.6846 MB / 437.6 MB, free: 1.441 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.381e-05/0.3396, allocations: 3.984 kB / 437.6 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.3396, allocations: 11.44 kB / 437.6 MB, free: 1.426 MB / 334.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.3396, allocations: 0 / 437.6 MB, free: 1.426 MB / 334.1 MB
Notification: Performance of Templates: time 0.003113/0.3428, allocations: 0.5609 MB / 438.1 MB, free: 0.8711 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.9216417744755745]