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.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.001385/0.001385, 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.001483/0.001483, 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.601/1.601, allocations: 230.6 MB / 258.2 MB, free: 8.062 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.002059/0.002059, allocations: 64.56 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3578, allocations: 53.37 MB / 432.4 MB, free: 6.988 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003606/0.3615, allocations: 1.644 MB / 434.1 MB, free: 5.34 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001243/0.3627, allocations: 0.5959 MB / 434.7 MB, free: 4.738 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3628, allocations: 7.938 kB / 434.7 MB, free: 4.73 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.621e-05/0.3629, allocations: 3.938 kB / 434.7 MB, free: 4.727 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.363, allocations: 15.86 kB / 434.7 MB, free: 4.711 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3634, allocations: 67.75 kB / 434.7 MB, free: 4.645 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3636, allocations: 55.84 kB / 434.8 MB, free: 4.59 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3637, allocations: 20.16 kB / 434.8 MB, free: 4.566 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3639, allocations: 31.86 kB / 434.9 MB, free: 4.535 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.364, allocations: 27.86 kB / 434.9 MB, free: 4.508 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.364, allocations: 4 kB / 434.9 MB, free: 4.504 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.364, allocations: 11.97 kB / 434.9 MB, free: 4.492 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.3641, allocations: 11.94 kB / 434.9 MB, free: 4.48 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.3641, allocations: 35.73 kB / 434.9 MB, free: 4.445 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.3644, allocations: 73.3 kB / 435 MB, free: 4.379 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3644, allocations: 3.938 kB / 435 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.863e-06/0.3644, allocations: 0 / 435 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.288e-05/0.3644, allocations: 4 kB / 435 MB, free: 4.371 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0005923/0.365, allocations: 317.9 kB / 435.3 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.365, allocations: 8.031 kB / 435.3 MB, free: 4.023 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.3652, allocations: 24.83 kB / 435.4 MB, free: 4 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.3655, allocations: 150.3 kB / 435.5 MB, free: 3.828 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3655, allocations: 12.38 kB / 435.5 MB, free: 3.816 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.3655, allocations: 8.312 kB / 435.5 MB, free: 3.809 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3659, allocations: 143 kB / 435.7 MB, free: 3.645 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3659, allocations: 0 / 435.7 MB, free: 3.645 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3659, allocations: 4 kB / 435.7 MB, free: 3.641 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3659, allocations: 4 kB / 435.7 MB, free: 3.637 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.366, allocations: 27.92 kB / 435.7 MB, free: 3.609 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.3664, allocations: 258.5 kB / 436 MB, free: 3.305 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3666, allocations: 102.3 kB / 436.1 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.3667, allocations: 39.48 kB / 436.1 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.3667, allocations: 4 kB / 436.1 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3668, allocations: 42.55 kB / 436.1 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3668, allocations: 0 / 436.1 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003372/0.3671, allocations: 97.5 kB / 436.2 MB, free: 2.961 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3672, allocations: 141 kB / 436.4 MB, free: 2.793 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3674, allocations: 146.2 kB / 436.5 MB, free: 2.641 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3674, allocations: 29.7 kB / 436.5 MB, free: 2.605 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.3675, allocations: 92.12 kB / 436.6 MB, free: 2.512 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3675, allocations: 11.95 kB / 436.6 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3676, allocations: 17.72 kB / 436.7 MB, free: 2.477 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001697/0.3677, allocations: 318.8 kB / 437 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.3678, allocations: 19.98 kB / 437 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.3678, allocations: 45.16 kB / 437 MB, free: 2.074 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.368, allocations: 69.06 kB / 437.1 MB, free: 1.988 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.368, allocations: 0 / 437.1 MB, free: 1.988 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.000169/0.3681, allocations: 85.5 kB / 437.2 MB, free: 1.898 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3682, allocations: 4.188 kB / 437.2 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3682, allocations: 8 kB / 437.2 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3682, allocations: 128 / 437.2 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.3683, allocations: 19.94 kB / 437.2 MB, free: 1.867 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3683, allocations: 3.938 kB / 437.2 MB, free: 1.863 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.3683, allocations: 7.984 kB / 437.2 MB, free: 1.855 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3683, allocations: 4 kB / 437.2 MB, free: 1.852 MB / 334.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 (6):
 * Single equations (assignments): 6
 * 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.000114/0.3685, allocations: 125.7 kB / 437.4 MB, free: 1.719 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3686, allocations: 69.59 kB / 437.4 MB, free: 1.645 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.3686, allocations: 23.91 kB / 437.5 MB, free: 1.617 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3686, allocations: 4 kB / 437.5 MB, free: 1.613 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3686, allocations: 3.938 kB / 437.5 MB, free: 1.609 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3686, allocations: 0 / 437.5 MB, free: 1.609 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.3689, allocations: 152.7 kB / 437.6 MB, free: 1.418 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3689, allocations: 0 / 437.6 MB, free: 1.418 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.3689, allocations: 15.94 kB / 437.6 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3689, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3689, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3689, allocations: 7.984 kB / 437.6 MB, free: 1.395 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3689, allocations: 4.031 kB / 437.6 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3692, allocations: 201.9 kB / 437.8 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.3692, allocations: 19.94 kB / 437.9 MB, free: 1.148 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3692, allocations: 0 / 437.9 MB, free: 1.148 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.3693, allocations: 8 kB / 437.9 MB, free: 1.141 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.992e-05/0.3693, allocations: 4 kB / 437.9 MB, free: 1.137 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3694, allocations: 4 kB / 437.9 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.804e-05/0.3695, allocations: 114.5 kB / 438 MB, free: 1.023 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3695, allocations: 0 / 438 MB, free: 1.023 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002419/0.3697, allocations: 12 kB / 438 MB, free: 1.012 MB / 334.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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 6
 * 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.0001249/0.3698, allocations: 101.9 kB / 438.1 MB, free: 0.9062 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001857/0.37, allocations: 43.92 kB / 438.1 MB, free: 0.8633 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.37, allocations: 0 / 438.1 MB, free: 0.8633 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.37, allocations: 11.92 kB / 438.1 MB, free: 0.8516 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3705, allocations: 40.02 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.371, allocations: 226.5 kB / 438.4 MB, free: 0.5586 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3714, allocations: 0.7009 MB / 439.1 MB, free: 15.83 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 3.816e-05/0.3714, allocations: 4.656 kB / 439.1 MB, free: 15.83 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3714, allocations: 11.44 kB / 439.1 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3714, allocations: 0 / 439.1 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of Templates: time 0.003958/0.3754, allocations: 0.8791 MB / 440 MB, free: 14.95 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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: 4.981024996377528]