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.TimeBasedStep.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.00149/0.00149, 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.001863/0.001863, allocations: 211.8 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.728/1.728, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [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.002245/0.002245, allocations: 60.77 kB / 379 MB, free: 2.691 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4233, allocations: 53.37 MB / 432.4 MB, free: 6.977 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003983/0.4273, allocations: 1.464 MB / 433.9 MB, free: 5.512 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000415/0.4277, allocations: 99.67 kB / 434 MB, free: 5.414 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.4278, allocations: 4 kB / 434 MB, free: 5.41 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.4278, allocations: 3.938 kB / 434 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.4279, allocations: 3.938 kB / 434 MB, free: 5.402 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.4283, allocations: 31.91 kB / 434 MB, free: 5.371 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001304/0.4284, allocations: 23.92 kB / 434 MB, free: 5.348 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.4286, allocations: 7.938 kB / 434 MB, free: 5.34 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.4286, allocations: 11.94 kB / 434 MB, free: 5.328 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.4287, allocations: 15.92 kB / 434.1 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.4287, allocations: 4 kB / 434.1 MB, free: 5.309 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.4287, allocations: 4 kB / 434.1 MB, free: 5.305 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.4287, allocations: 3.938 kB / 434.1 MB, free: 5.301 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.4288, allocations: 15.92 kB / 434.1 MB, free: 5.285 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.4289, allocations: 29.88 kB / 434.1 MB, free: 5.258 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4289, allocations: 3.984 kB / 434.1 MB, free: 5.254 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.955e-06/0.4289, allocations: 0 / 434.1 MB, free: 5.254 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.225e-05/0.4289, allocations: 0 / 434.1 MB, free: 5.254 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.0005904/0.4295, allocations: 268.4 kB / 434.4 MB, free: 4.965 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.4296, allocations: 8.031 kB / 434.4 MB, free: 4.957 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.4296, allocations: 8.891 kB / 434.4 MB, free: 4.949 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.4299, allocations: 122.5 kB / 434.5 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4299, allocations: 384 / 434.5 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.43, allocations: 4.375 kB / 434.5 MB, free: 4.801 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.4303, allocations: 115.8 kB / 434.6 MB, free: 4.676 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4304, allocations: 8.125 kB / 434.6 MB, free: 4.668 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.4304, allocations: 7.922 kB / 434.6 MB, free: 4.66 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4304, allocations: 0 / 434.6 MB, free: 4.66 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4305, allocations: 23.97 kB / 434.7 MB, free: 4.637 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.4307, allocations: 128.7 kB / 434.8 MB, free: 4.469 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.4309, allocations: 50.55 kB / 434.8 MB, free: 4.41 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.431, allocations: 28.92 kB / 434.9 MB, free: 4.379 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.431, allocations: 0 / 434.9 MB, free: 4.379 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.4311, allocations: 34.5 kB / 434.9 MB, free: 4.336 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4311, allocations: 0 / 434.9 MB, free: 4.336 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002873/0.4314, allocations: 69.61 kB / 435 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.4315, allocations: 55.41 kB / 435 MB, free: 4.195 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4316, allocations: 109.8 kB / 435.1 MB, free: 4.078 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4316, allocations: 25.7 kB / 435.2 MB, free: 4.047 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.4317, allocations: 84.14 kB / 435.2 MB, free: 3.961 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.4317, allocations: 0 / 435.2 MB, free: 3.961 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.4318, allocations: 17.72 kB / 435.3 MB, free: 3.938 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001852/0.4319, allocations: 314.8 kB / 435.6 MB, free: 3.621 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.432, allocations: 8 kB / 435.6 MB, free: 3.613 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.432, allocations: 31.38 kB / 435.6 MB, free: 3.57 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.488e-05/0.4321, allocations: 39.36 kB / 435.6 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4321, allocations: 0 / 435.6 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.791e-05/0.4322, allocations: 53.72 kB / 435.7 MB, free: 3.461 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4322, allocations: 10.97 kB / 435.7 MB, free: 3.453 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4322, allocations: 7.875 kB / 435.7 MB, free: 3.445 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4322, allocations: 7.984 kB / 435.7 MB, free: 3.438 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.4323, allocations: 4 kB / 435.7 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.4323, allocations: 4 kB / 435.7 MB, free: 3.43 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.4323, allocations: 0 / 435.7 MB, free: 3.43 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.4323, allocations: 0 / 435.7 MB, free: 3.43 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: 3 (assignClock1.y,assignClock1.u,step.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000124/0.4324, allocations: 117.8 kB / 435.8 MB, free: 3.305 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4325, allocations: 61.67 kB / 435.9 MB, free: 3.238 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.4326, allocations: 11.94 kB / 435.9 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4326, allocations: 256 / 435.9 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4326, allocations: 0 / 435.9 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4326, allocations: 4 kB / 435.9 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.4327, allocations: 128.7 kB / 436 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4327, allocations: 0 / 436 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.4328, allocations: 11.98 kB / 436.1 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4328, allocations: 0 / 436.1 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4328, allocations: 3.938 kB / 436.1 MB, free: 3.031 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4328, allocations: 8 kB / 436.1 MB, free: 3.023 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4328, allocations: 0 / 436.1 MB, free: 3.023 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.433, allocations: 89.33 kB / 436.2 MB, free: 2.918 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.433, allocations: 4.031 kB / 436.2 MB, free: 2.914 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.433, allocations: 3.938 kB / 436.2 MB, free: 2.91 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.433, allocations: 8 kB / 436.2 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-06/0.433, allocations: 0 / 436.2 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.433, allocations: 0 / 436.2 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.139e-05/0.4331, allocations: 87.27 kB / 436.3 MB, free: 2.816 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4331, allocations: 0 / 436.3 MB, free: 2.816 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001904/0.4333, allocations: 8 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: 3 (step.y,assignClock1.u,assignClock1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * 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.0001509/0.4334, allocations: 95.25 kB / 436.4 MB, free: 2.707 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001483/0.4336, allocations: 27.92 kB / 436.4 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4336, allocations: 0 / 436.4 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.4336, allocations: 256 / 436.4 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4338, allocations: 24.02 kB / 436.4 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.4342, allocations: 117.5 kB / 436.5 MB, free: 2.516 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.4347, allocations: 0.6846 MB / 437.2 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.136e-05/0.4347, allocations: 3.938 kB / 437.2 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.4347, allocations: 7.438 kB / 437.2 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of SimCode: time 3e-07/0.4347, allocations: 0 / 437.2 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of Templates: time 0.003232/0.438, allocations: 351.6 kB / 437.6 MB, free: 1.457 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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: 5.347840986214578]