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.ShiftSample.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.001618/0.001618, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001784/0.001784, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.612/1.612, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [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.001998/0.001998, allocations: 64.77 kB / 379 MB, free: 2.672 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3123, allocations: 53.36 MB / 432.4 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003751/0.3161, allocations: 1.616 MB / 434 MB, free: 5.367 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001479/0.3175, allocations: 0.5686 MB / 434.6 MB, free: 4.793 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3177, allocations: 4 kB / 434.6 MB, free: 4.789 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.821e-05/0.3177, allocations: 7.875 kB / 434.6 MB, free: 4.781 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000183/0.3179, allocations: 19.92 kB / 434.6 MB, free: 4.762 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.3184, allocations: 59.75 kB / 434.7 MB, free: 4.703 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3185, allocations: 47.84 kB / 434.7 MB, free: 4.656 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3187, allocations: 12.17 kB / 434.7 MB, free: 4.645 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3188, allocations: 27.86 kB / 434.8 MB, free: 4.617 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.3189, allocations: 23.86 kB / 434.8 MB, free: 4.594 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.3189, allocations: 4 kB / 434.8 MB, free: 4.59 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.331e-05/0.319, allocations: 11.98 kB / 434.8 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.319, allocations: 8 kB / 434.8 MB, free: 4.57 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.3191, allocations: 39.73 kB / 434.8 MB, free: 4.531 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3193, allocations: 61.31 kB / 434.9 MB, free: 4.477 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3193, allocations: 0 / 434.9 MB, free: 4.477 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.575e-06/0.3193, allocations: 3.938 kB / 434.9 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.802e-06/0.3193, allocations: 0 / 434.9 MB, free: 4.473 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.000638/0.3199, allocations: 305.9 kB / 435.2 MB, free: 4.145 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.32, allocations: 8.031 kB / 435.2 MB, free: 4.137 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.3202, allocations: 20.88 kB / 435.2 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3205, allocations: 148.6 kB / 435.4 MB, free: 3.949 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3205, allocations: 8.375 kB / 435.4 MB, free: 3.941 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3205, allocations: 3.938 kB / 435.4 MB, free: 3.938 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.3209, allocations: 109.9 kB / 435.5 MB, free: 3.809 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3209, allocations: 7.938 kB / 435.5 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3209, allocations: 4 kB / 435.5 MB, free: 3.797 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3209, allocations: 4 kB / 435.5 MB, free: 3.793 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.321, allocations: 23.92 kB / 435.5 MB, free: 3.77 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.3214, allocations: 241.6 kB / 435.8 MB, free: 3.484 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3215, allocations: 71.78 kB / 435.8 MB, free: 3.387 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.3216, allocations: 30.62 kB / 435.9 MB, free: 3.348 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3216, allocations: 4 kB / 435.9 MB, free: 3.344 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3217, allocations: 38.56 kB / 435.9 MB, free: 3.297 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 3.888e-06/0.3217, allocations: 3.984 kB / 435.9 MB, free: 3.293 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002908/0.322, allocations: 89.45 kB / 436 MB, free: 3.199 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.3221, allocations: 102.8 kB / 436.1 MB, free: 3.074 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3222, allocations: 160 kB / 436.3 MB, free: 2.91 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3222, allocations: 25.7 kB / 436.3 MB, free: 2.879 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.3223, allocations: 88.14 kB / 436.4 MB, free: 2.789 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.3223, allocations: 7.984 kB / 436.4 MB, free: 2.781 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3224, allocations: 17.67 kB / 436.4 MB, free: 2.758 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000172/0.3225, allocations: 318.8 kB / 436.7 MB, free: 2.438 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.3226, allocations: 11.98 kB / 436.7 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.3227, allocations: 39.42 kB / 436.8 MB, free: 2.375 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.814e-05/0.3228, allocations: 47.36 kB / 436.8 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3228, allocations: 0 / 436.8 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/0.3229, allocations: 73.56 kB / 436.9 MB, free: 2.238 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3229, allocations: 4 kB / 436.9 MB, free: 2.234 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3229, allocations: 0 / 436.9 MB, free: 2.234 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.3229, allocations: 7.984 kB / 436.9 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.323, allocations: 4 kB / 436.9 MB, free: 2.223 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.323, allocations: 4 kB / 436.9 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.3231, allocations: 3.938 kB / 436.9 MB, free: 2.215 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3231, allocations: 4 kB / 436.9 MB, free: 2.211 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: 0 ()
 * 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.0001313/0.3232, allocations: 122 kB / 437 MB, free: 2.082 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.3233, allocations: 61.53 kB / 437.1 MB, free: 2.016 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.3233, allocations: 11.97 kB / 437.1 MB, free: 2 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3233, allocations: 3.938 kB / 437.1 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3233, allocations: 0 / 437.1 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3234, allocations: 3.938 kB / 437.1 MB, free: 1.992 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3236, allocations: 144.7 kB / 437.3 MB, free: 1.809 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3236, allocations: 4 kB / 437.3 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.3236, allocations: 8.047 kB / 437.3 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3236, allocations: 11.94 kB / 437.3 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3236, allocations: 0 / 437.3 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3236, allocations: 0 / 437.3 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3236, allocations: 0 / 437.3 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3239, allocations: 185.1 kB / 437.5 MB, free: 1.582 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.3239, allocations: 23.88 kB / 437.5 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3239, allocations: 4 kB / 437.5 MB, free: 1.555 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.324, allocations: 3.984 kB / 437.5 MB, free: 1.551 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.324, allocations: 3.938 kB / 437.5 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.324, allocations: 4 kB / 437.5 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001579/0.3242, allocations: 114.4 kB / 437.6 MB, free: 1.434 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3242, allocations: 0 / 437.6 MB, free: 1.434 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002264/0.3244, allocations: 8 kB / 437.6 MB, free: 1.426 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (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.0001205/0.3246, allocations: 99.25 kB / 437.7 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001688/0.3247, allocations: 27.92 kB / 437.7 MB, free: 1.293 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3247, allocations: 4 kB / 437.7 MB, free: 1.289 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.3248, allocations: 15.92 kB / 437.8 MB, free: 1.273 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.3252, allocations: 34.2 kB / 437.8 MB, free: 1.246 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.3256, allocations: 189 kB / 438 MB, free: 1.031 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.3261, allocations: 0.6962 MB / 438.7 MB, free: 316 kB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.775e-05/0.3261, allocations: 3.984 kB / 438.7 MB, free: 312 kB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.3261, allocations: 11.44 kB / 438.7 MB, free: 300 kB / 334.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.3261, allocations: 0 / 438.7 MB, free: 300 kB / 334.1 MB
Notification: Performance of Templates: time 0.004115/0.3303, allocations: 0.6625 MB / 439.3 MB, free: 15.63 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.9524681540206075]