Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001956/0.001956, allocations: 109 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.002968/0.002968, allocations: 213.9 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.588/1.588, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [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.001925/0.001925, allocations: 64.77 kB / 379 MB, free: 2.668 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3853, allocations: 53.37 MB / 432.4 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003154/0.3884, allocations: 1.454 MB / 433.9 MB, free: 5.52 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002389/0.3887, allocations: 27.91 kB / 433.9 MB, free: 5.492 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3887, allocations: 0 / 433.9 MB, free: 5.492 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.3888, allocations: 3.938 kB / 433.9 MB, free: 5.488 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.3888, allocations: 7.938 kB / 433.9 MB, free: 5.48 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.3891, allocations: 19.98 kB / 433.9 MB, free: 5.461 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3892, allocations: 31.91 kB / 434 MB, free: 5.43 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3893, allocations: 8 kB / 434 MB, free: 5.422 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.3894, allocations: 15.92 kB / 434 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.3894, allocations: 15.92 kB / 434 MB, free: 5.391 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.3894, allocations: 4 kB / 434 MB, free: 5.387 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.3894, allocations: 0 / 434 MB, free: 5.387 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.3895, allocations: 11.94 kB / 434 MB, free: 5.375 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.3895, allocations: 7.938 kB / 434 MB, free: 5.367 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3896, allocations: 39.48 kB / 434.1 MB, free: 5.332 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.3896, allocations: 7.984 kB / 434.1 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.204e-06/0.3896, allocations: 0 / 434.1 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.278e-05/0.3896, allocations: 0 / 434.1 MB, free: 5.324 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.0005376/0.3902, allocations: 260.3 kB / 434.3 MB, free: 5.039 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3902, allocations: 12.03 kB / 434.3 MB, free: 5.027 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3903, allocations: 8.875 kB / 434.3 MB, free: 5.02 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.3905, allocations: 122.4 kB / 434.5 MB, free: 4.875 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.3906, allocations: 384 / 434.5 MB, free: 4.875 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3906, allocations: 12.36 kB / 434.5 MB, free: 4.863 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.391, allocations: 115.8 kB / 434.6 MB, free: 4.738 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.391, allocations: 4.188 kB / 434.6 MB, free: 4.734 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.391, allocations: 3.938 kB / 434.6 MB, free: 4.73 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.391, allocations: 0 / 434.6 MB, free: 4.73 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3912, allocations: 27.97 kB / 434.6 MB, free: 4.703 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.3914, allocations: 128.8 kB / 434.7 MB, free: 4.535 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3915, allocations: 54.48 kB / 434.8 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.3916, allocations: 24.92 kB / 434.8 MB, free: 4.445 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3916, allocations: 3.984 kB / 434.8 MB, free: 4.441 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3917, allocations: 34.56 kB / 434.9 MB, free: 4.398 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3917, allocations: 0 / 434.9 MB, free: 4.398 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0003308/0.392, allocations: 81.55 kB / 434.9 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.3921, allocations: 67.34 kB / 435 MB, free: 4.234 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3922, allocations: 105.8 kB / 435.1 MB, free: 4.121 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3923, allocations: 25.7 kB / 435.1 MB, free: 4.09 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.3923, allocations: 84.14 kB / 435.2 MB, free: 4.004 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.3923, allocations: 4 kB / 435.2 MB, free: 4 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.3924, allocations: 17.72 kB / 435.2 MB, free: 3.977 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.00021/0.3926, allocations: 314.8 kB / 435.5 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.3926, allocations: 8 kB / 435.5 MB, free: 3.652 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.3926, allocations: 31.69 kB / 435.6 MB, free: 3.609 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.3927, allocations: 39.36 kB / 435.6 MB, free: 3.559 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3927, allocations: 0 / 435.6 MB, free: 3.559 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.88e-05/0.3928, allocations: 65.59 kB / 435.7 MB, free: 3.488 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3928, allocations: 4 kB / 435.7 MB, free: 3.484 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3928, allocations: 3.938 kB / 435.7 MB, free: 3.48 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3929, allocations: 7.984 kB / 435.7 MB, free: 3.473 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.3929, allocations: 11.94 kB / 435.7 MB, free: 3.461 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3929, allocations: 0 / 435.7 MB, free: 3.461 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.393, allocations: 7.875 kB / 435.7 MB, free: 3.453 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.393, allocations: 4 kB / 435.7 MB, free: 3.449 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (step.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.0001261/0.3931, allocations: 121.9 kB / 435.8 MB, free: 3.32 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.3932, allocations: 65.8 kB / 435.9 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.3933, allocations: 11.94 kB / 435.9 MB, free: 3.23 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3933, allocations: 7.984 kB / 435.9 MB, free: 3.223 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3933, allocations: 0 / 435.9 MB, free: 3.223 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3933, allocations: 0 / 435.9 MB, free: 3.223 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.3934, allocations: 124.8 kB / 436 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3934, allocations: 0 / 436 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.3935, allocations: 15.92 kB / 436.1 MB, free: 3.043 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3935, allocations: 4 kB / 436.1 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3935, allocations: 3.938 kB / 436.1 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3935, allocations: 0 / 436.1 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3935, allocations: 4 kB / 436.1 MB, free: 3.031 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3937, allocations: 85.11 kB / 436.2 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.3937, allocations: 7.938 kB / 436.2 MB, free: 2.922 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3937, allocations: 7.938 kB / 436.2 MB, free: 2.914 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.3937, allocations: 4 kB / 436.2 MB, free: 2.91 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.3937, allocations: 4 kB / 436.2 MB, free: 2.906 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3937, allocations: 4 kB / 436.2 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.287e-05/0.3938, allocations: 91.39 kB / 436.3 MB, free: 2.812 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3938, allocations: 0 / 436.3 MB, free: 2.812 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002177/0.394, allocations: 4 kB / 436.3 MB, free: 2.809 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (step.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.0002332/0.3943, allocations: 99.19 kB / 436.4 MB, free: 2.703 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001542/0.3944, allocations: 23.98 kB / 436.4 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.3944, allocations: 4.25 kB / 436.4 MB, free: 2.676 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3944, allocations: 0 / 436.4 MB, free: 2.676 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3947, allocations: 27.92 kB / 436.4 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.3951, allocations: 125.6 kB / 436.6 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.3954, allocations: 0.6807 MB / 437.2 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.118e-05/0.3954, allocations: 0 / 437.2 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.3955, allocations: 11.38 kB / 437.2 MB, free: 1.781 MB / 334.1 MB
Notification: Performance of SimCode: time 5.11e-07/0.3955, allocations: 4 kB / 437.2 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of Templates: time 0.003023/0.3985, allocations: 459.9 kB / 437.7 MB, free: 1.34 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.9262222070246935]