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.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.001851/0.001851, 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.002674/0.002674, allocations: 213.2 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.585/1.585, 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002202/0.002202, allocations: 68.77 kB / 379 MB, free: 2.645 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3097, allocations: 53.37 MB / 432.4 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003664/0.3134, allocations: 1.958 MB / 434.4 MB, free: 5.004 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0024/0.3158, allocations: 1.336 MB / 435.7 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3159, allocations: 7.938 kB / 435.7 MB, free: 3.652 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.3163, allocations: 67.67 kB / 435.8 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.3167, allocations: 139.4 kB / 435.9 MB, free: 3.449 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.3174, allocations: 238 kB / 436.1 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002853/0.3177, allocations: 191.4 kB / 436.3 MB, free: 3.031 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3178, allocations: 29.8 kB / 436.4 MB, free: 3 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.318, allocations: 87.56 kB / 436.4 MB, free: 2.914 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3181, allocations: 87.61 kB / 436.5 MB, free: 2.828 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3181, allocations: 8 kB / 436.5 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.3183, allocations: 79.94 kB / 436.6 MB, free: 2.742 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.3184, allocations: 55.77 kB / 436.7 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.3186, allocations: 83.41 kB / 436.7 MB, free: 2.605 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000391/0.319, allocations: 252.6 kB / 437 MB, free: 2.363 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.319, allocations: 0 / 437 MB, free: 2.363 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.054e-06/0.319, allocations: 4 kB / 437 MB, free: 2.359 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.382e-06/0.319, allocations: 4 kB / 437 MB, free: 2.355 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.0007579/0.3197, allocations: 490.3 kB / 437.5 MB, free: 1.84 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3198, allocations: 12.02 kB / 437.5 MB, free: 1.828 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.3198, allocations: 24.8 kB / 437.5 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.3203, allocations: 238.6 kB / 437.7 MB, free: 1.551 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3203, allocations: 8.375 kB / 437.8 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3203, allocations: 16.11 kB / 437.8 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.3207, allocations: 180.4 kB / 437.9 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3207, allocations: 0 / 437.9 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3207, allocations: 0 / 437.9 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.3207, allocations: 4 kB / 438 MB, free: 1.316 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3209, allocations: 47.91 kB / 438 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.3214, allocations: 370.2 kB / 438.4 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3217, allocations: 142.5 kB / 438.5 MB, free: 0.6797 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3218, allocations: 59.36 kB / 438.6 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3219, allocations: 12.05 kB / 438.6 MB, free: 0.5977 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.3221, allocations: 79.33 kB / 438.6 MB, free: 0.5078 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.3221, allocations: 3.938 kB / 438.7 MB, free: 0.5039 MB / 334.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0005217/0.3226, allocations: 169.7 kB / 438.8 MB, free: 340 kB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.3227, allocations: 195.9 kB / 439 MB, free: 100 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.3231, allocations: 344.2 kB / 439.3 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3231, allocations: 25.7 kB / 439.4 MB, free: 15.72 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3232, allocations: 136.4 kB / 439.5 MB, free: 15.58 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3233, allocations: 15.91 kB / 439.5 MB, free: 15.56 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.3233, allocations: 37.66 kB / 439.6 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000155/0.3235, allocations: 338.8 kB / 439.9 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.3236, allocations: 27.98 kB / 439.9 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3237, allocations: 104.5 kB / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3239, allocations: 97.94 kB / 440.1 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3239, allocations: 4 kB / 440.1 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.3241, allocations: 145.3 kB / 440.3 MB, free: 14.75 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3241, allocations: 8 kB / 440.3 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3242, allocations: 0 / 440.3 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3242, allocations: 4 kB / 440.3 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3243, allocations: 19.98 kB / 440.3 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3243, allocations: 4 kB / 440.3 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.3244, allocations: 15.88 kB / 440.3 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3244, allocations: 4 kB / 440.3 MB, free: 14.7 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,table.y,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.0001542/0.3246, allocations: 163.1 kB / 440.5 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3247, allocations: 81.44 kB / 440.5 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.325, allocations: 119.4 kB / 440.7 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.325, allocations: 4 kB / 440.7 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.325, allocations: 3.938 kB / 440.7 MB, free: 14.31 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.325, allocations: 7.938 kB / 440.7 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3252, allocations: 216.6 kB / 440.9 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3252, allocations: 8.094 kB / 440.9 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.3253, allocations: 15.98 kB / 440.9 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3253, allocations: 0 / 440.9 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3253, allocations: 4 kB / 440.9 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3253, allocations: 0 / 440.9 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3253, allocations: 0 / 440.9 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.3256, allocations: 191.4 kB / 441.1 MB, free: 13.81 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3257, allocations: 43.73 kB / 441.1 MB, free: 13.77 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.3258, allocations: 4 kB / 441.2 MB, free: 13.76 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.3258, allocations: 11.98 kB / 441.2 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.3259, allocations: 12.02 kB / 441.2 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3259, allocations: 7.938 kB / 441.2 MB, free: 13.73 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002709/0.3262, allocations: 255 kB / 441.4 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3262, allocations: 3.938 kB / 441.4 MB, free: 13.48 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002829/0.3265, allocations: 43.88 kB / 441.5 MB, free: 13.43 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,table.y,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.001573/0.3281, allocations: 421 kB / 441.9 MB, free: 13.17 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002875/0.3283, allocations: 79.84 kB / 442 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3283, allocations: 4 kB / 442 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.308e-05/0.3284, allocations: 24.36 kB / 442 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.3289, allocations: 80.91 kB / 442.1 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.3297, allocations: 394.7 kB / 442.5 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3301, allocations: 0.7479 MB / 443.2 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 8.327e-05/0.3302, allocations: 21.89 kB / 443.2 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.3302, allocations: 27.42 kB / 443.3 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.3302, allocations: 4 kB / 443.3 MB, free: 11.74 MB / 350.1 MB
Notification: Performance of Templates: time 0.007579/0.3378, allocations: 3.163 MB / 446.4 MB, free: 8.609 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.10917956661433]