Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001388/0.001388, allocations: 105.1 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.00166/0.00166, allocations: 213.9 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.725/1.725, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample")
translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [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.002367/0.002367, allocations: 60.78 kB / 379 MB, free: 2.676 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3574, allocations: 53.38 MB / 432.4 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003524/0.3609, allocations: 1.962 MB / 434.4 MB, free: 5.004 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002131/0.363, allocations: 1.255 MB / 435.6 MB, free: 3.742 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3631, allocations: 7.938 kB / 435.6 MB, free: 3.734 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.3637, allocations: 159.5 kB / 435.8 MB, free: 3.578 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.3642, allocations: 159.4 kB / 435.9 MB, free: 3.422 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.3646, allocations: 182 kB / 436.1 MB, free: 3.246 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3649, allocations: 199.4 kB / 436.3 MB, free: 3.051 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3651, allocations: 29.59 kB / 436.3 MB, free: 3.023 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3652, allocations: 87.62 kB / 436.4 MB, free: 2.938 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.3653, allocations: 83.61 kB / 436.5 MB, free: 2.855 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.3653, allocations: 8 kB / 436.5 MB, free: 2.848 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.3655, allocations: 67.94 kB / 436.6 MB, free: 2.781 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.3656, allocations: 47.78 kB / 436.6 MB, free: 2.734 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 9.367e-05/0.3657, allocations: 79.42 kB / 436.7 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.366, allocations: 214 kB / 436.9 MB, free: 2.453 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.366, allocations: 0 / 436.9 MB, free: 2.453 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.583e-06/0.366, allocations: 0 / 436.9 MB, free: 2.453 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.4e-06/0.366, allocations: 0 / 436.9 MB, free: 2.453 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0007614/0.3668, allocations: 474.5 kB / 437.4 MB, free: 1.953 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3668, allocations: 8.031 kB / 437.4 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.3669, allocations: 24.8 kB / 437.4 MB, free: 1.922 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.3673, allocations: 225.1 kB / 437.6 MB, free: 1.68 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3673, allocations: 4.375 kB / 437.6 MB, free: 1.676 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3673, allocations: 16.12 kB / 437.6 MB, free: 1.66 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.3677, allocations: 176.7 kB / 437.8 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3677, allocations: 3.938 kB / 437.8 MB, free: 1.457 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3677, allocations: 0 / 437.8 MB, free: 1.457 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3677, allocations: 0 / 437.8 MB, free: 1.457 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3678, allocations: 43.92 kB / 437.9 MB, free: 1.414 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.3683, allocations: 346.3 kB / 438.2 MB, free: 1.023 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.3686, allocations: 130.5 kB / 438.3 MB, free: 0.8594 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.3687, allocations: 55.41 kB / 438.4 MB, free: 0.793 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3687, allocations: 4 kB / 438.4 MB, free: 0.7891 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3689, allocations: 79.33 kB / 438.5 MB, free: 0.6992 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3689, allocations: 0 / 438.5 MB, free: 0.6992 MB / 334.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0003843/0.3693, allocations: 157.4 kB / 438.6 MB, free: 0.5391 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3694, allocations: 170.5 kB / 438.8 MB, free: 344 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3697, allocations: 273.9 kB / 439.1 MB, free: 60 kB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3697, allocations: 29.7 kB / 439.1 MB, free: 24 kB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3698, allocations: 128.3 kB / 439.2 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3698, allocations: 19.84 kB / 439.2 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.3699, allocations: 33.7 kB / 439.3 MB, free: 15.83 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001478/0.37, allocations: 330.8 kB / 439.6 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.3701, allocations: 31.92 kB / 439.6 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3702, allocations: 79.7 kB / 439.7 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.3704, allocations: 97.91 kB / 439.8 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3704, allocations: 0 / 439.8 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002417/0.3706, allocations: 133.6 kB / 439.9 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3707, allocations: 8 kB / 439.9 MB, free: 15.1 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3707, allocations: 0 / 439.9 MB, free: 15.1 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3707, allocations: 4 kB / 439.9 MB, free: 15.1 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.3708, allocations: 15.94 kB / 439.9 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3708, allocations: 3.984 kB / 440 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.3708, allocations: 7.938 kB / 440 MB, free: 15.07 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3708, allocations: 12 kB / 440 MB, free: 15.06 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 13
 * 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.0001504/0.371, allocations: 150.6 kB / 440.1 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3711, allocations: 81.48 kB / 440.2 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.3714, allocations: 107.4 kB / 440.3 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3714, allocations: 4.375 kB / 440.3 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3714, allocations: 0 / 440.3 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3714, allocations: 7.938 kB / 440.3 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.3716, allocations: 212.5 kB / 440.5 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3716, allocations: 0 / 440.5 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.3716, allocations: 7.938 kB / 440.5 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3716, allocations: 8.094 kB / 440.5 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3716, allocations: 0 / 440.5 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3716, allocations: 7.922 kB / 440.5 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3716, allocations: 4 kB / 440.6 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3719, allocations: 171.4 kB / 440.7 MB, free: 14.21 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.372, allocations: 39.94 kB / 440.8 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.372, allocations: 4 kB / 440.8 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.3721, allocations: 7.938 kB / 440.8 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.3721, allocations: 7.984 kB / 440.8 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3721, allocations: 7.938 kB / 440.8 MB, free: 14.15 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002102/0.3723, allocations: 209.2 kB / 441 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3723, allocations: 0 / 441 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000275/0.3726, allocations: 31.94 kB / 441 MB, free: 13.91 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u)
 * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.001486/0.3741, allocations: 421.5 kB / 441.4 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002291/0.3743, allocations: 79.78 kB / 441.5 MB, free: 13.58 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3743, allocations: 0 / 441.5 MB, free: 13.58 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.3744, allocations: 23.98 kB / 441.5 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3748, allocations: 70.88 kB / 441.6 MB, free: 13.49 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.3754, allocations: 337.9 kB / 441.9 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3758, allocations: 0.732 MB / 442.7 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.515e-05/0.3758, allocations: 33.61 kB / 442.7 MB, free: 12.33 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.3759, allocations: 23.42 kB / 442.7 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3759, allocations: 3.938 kB / 442.7 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of Templates: time 0.006615/0.3825, allocations: 2.757 MB / 445.5 MB, free: 9.582 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.335746081545949]