Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 184.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.91 kB / 370.9 MB, free: 9.336 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.307, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003265/0.3103, allocations: 1.654 MB / 424.8 MB, free: 13.02 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001003/0.3113, allocations: 0.5143 MB / 425.3 MB, free: 12.5 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3114, allocations: 7.875 kB / 425.3 MB, free: 12.49 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.714e-05/0.3115, allocations: 11.86 kB / 425.3 MB, free: 12.48 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.3116, allocations: 15.86 kB / 425.3 MB, free: 12.46 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3119, allocations: 55.83 kB / 425.4 MB, free: 12.41 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001283/0.312, allocations: 51.78 kB / 425.4 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3122, allocations: 23.92 kB / 425.5 MB, free: 12.34 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.744e-05/0.3122, allocations: 35.78 kB / 425.5 MB, free: 12.3 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.3123, allocations: 23.86 kB / 425.5 MB, free: 12.28 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3123, allocations: 8 kB / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.3123, allocations: 4 kB / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.3124, allocations: 15.92 kB / 425.5 MB, free: 12.25 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.3125, allocations: 31.75 kB / 425.6 MB, free: 12.22 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3126, allocations: 59.39 kB / 425.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3126, allocations: 0 / 425.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of FrontEnd: time 4.318e-06/0.3126, allocations: 7.984 kB / 425.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.205e-05/0.3126, allocations: 0 / 425.6 MB, free: 12.16 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.0005335/0.3132, allocations: 315.4 kB / 425.9 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3132, allocations: 12.03 kB / 426 MB, free: 11.81 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.3132, allocations: 16.83 kB / 426 MB, free: 11.79 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3135, allocations: 150.3 kB / 426.1 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3135, allocations: 4.375 kB / 426.1 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.3136, allocations: 8.359 kB / 426.1 MB, free: 11.61 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.314, allocations: 139 kB / 426.3 MB, free: 11.45 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3141, allocations: 0 / 426.3 MB, free: 11.45 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3141, allocations: 7.984 kB / 426.3 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3141, allocations: 4 kB / 426.3 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3142, allocations: 27.91 kB / 426.3 MB, free: 11.41 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.3146, allocations: 254.5 kB / 426.6 MB, free: 11.11 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3148, allocations: 94.42 kB / 426.6 MB, free: 10.98 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.3149, allocations: 43.42 kB / 426.7 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3149, allocations: 7.984 kB / 426.7 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.3149, allocations: 34.56 kB / 426.7 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3149, allocations: 4 kB / 426.7 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003166/0.3152, allocations: 97.5 kB / 426.8 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/0.3153, allocations: 132.5 kB / 427 MB, free: 10.61 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3155, allocations: 154.4 kB / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3155, allocations: 29.64 kB / 427.1 MB, free: 10.41 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.3156, allocations: 100.1 kB / 427.2 MB, free: 10.31 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.3156, allocations: 11.89 kB / 427.2 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3157, allocations: 17.72 kB / 427.3 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001654/0.3158, allocations: 326.8 kB / 427.6 MB, free: 9.949 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.3159, allocations: 15.92 kB / 427.6 MB, free: 9.934 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.3159, allocations: 53.14 kB / 427.6 MB, free: 9.863 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3161, allocations: 61.08 kB / 427.7 MB, free: 9.785 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3161, allocations: 4 kB / 427.7 MB, free: 9.781 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001723/0.3162, allocations: 85.5 kB / 427.8 MB, free: 9.691 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3163, allocations: 4 kB / 427.8 MB, free: 9.688 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3163, allocations: 4 kB / 427.8 MB, free: 9.684 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3163, allocations: 0 / 427.8 MB, free: 9.684 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.3164, allocations: 16.06 kB / 427.8 MB, free: 9.668 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3164, allocations: 192 / 427.8 MB, free: 9.668 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.3164, allocations: 15.98 kB / 427.8 MB, free: 9.652 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3165, allocations: 4 kB / 427.8 MB, free: 9.648 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 9.985e-05/0.3166, allocations: 117.8 kB / 428 MB, free: 9.523 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3167, allocations: 69.53 kB / 428 MB, free: 9.449 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.3167, allocations: 15.95 kB / 428 MB, free: 9.43 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3167, allocations: 4 kB / 428 MB, free: 9.426 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3167, allocations: 0 / 428 MB, free: 9.426 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3167, allocations: 4.094 kB / 428 MB, free: 9.422 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3169, allocations: 160.6 kB / 428.2 MB, free: 9.223 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3169, allocations: 0 / 428.2 MB, free: 9.223 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.317, allocations: 15.94 kB / 428.2 MB, free: 9.207 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.317, allocations: 0 / 428.2 MB, free: 9.207 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.317, allocations: 0 / 428.2 MB, free: 9.207 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/0.317, allocations: 7.984 kB / 428.2 MB, free: 9.199 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.317, allocations: 0 / 428.2 MB, free: 9.199 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3173, allocations: 198 kB / 428.4 MB, free: 8.98 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.3174, allocations: 19.94 kB / 428.4 MB, free: 8.961 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3174, allocations: 0 / 428.4 MB, free: 8.961 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.3174, allocations: 7.938 kB / 428.4 MB, free: 8.953 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.3175, allocations: 0 / 428.4 MB, free: 8.953 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3175, allocations: 4 kB / 428.5 MB, free: 8.949 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.877e-05/0.3176, allocations: 122.1 kB / 428.6 MB, free: 8.832 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3176, allocations: 0 / 428.6 MB, free: 8.832 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000242/0.3178, allocations: 8 kB / 428.6 MB, free: 8.824 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.0001422/0.318, allocations: 99.17 kB / 428.7 MB, free: 8.719 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002005/0.3182, allocations: 43.92 kB / 428.7 MB, free: 8.676 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3182, allocations: 8.312 kB / 428.7 MB, free: 8.668 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.726e-05/0.3182, allocations: 23.86 kB / 428.7 MB, free: 8.645 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3187, allocations: 39.06 kB / 428.8 MB, free: 8.609 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.3192, allocations: 197.8 kB / 429 MB, free: 8.383 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.3197, allocations: 0.7043 MB / 429.7 MB, free: 7.652 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 5.488e-05/0.3197, allocations: 8.734 kB / 429.7 MB, free: 7.645 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.3198, allocations: 19.41 kB / 429.7 MB, free: 7.625 MB / 334.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3198, allocations: 0 / 429.7 MB, free: 7.625 MB / 334.1 MB
Notification: Performance of Templates: time 0.004943/0.3247, allocations: 0.869 MB / 430.6 MB, free: 6.766 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.774077453650534]