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.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.00171/0.00171, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002794/0.002794, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.604/1.604, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002434/0.002434, allocations: 68.77 kB / 379 MB, free: 2.676 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4149, allocations: 53.37 MB / 432.4 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.006113/0.421, allocations: 1.919 MB / 434.3 MB, free: 5.059 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003304/0.4243, allocations: 1.317 MB / 435.6 MB, free: 3.734 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.4247, allocations: 7.938 kB / 435.6 MB, free: 3.727 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.4251, allocations: 71.67 kB / 435.7 MB, free: 3.656 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.4258, allocations: 131.4 kB / 435.8 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.4269, allocations: 226.7 kB / 436.1 MB, free: 3.309 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005778/0.4275, allocations: 179.5 kB / 436.2 MB, free: 3.133 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.4277, allocations: 25.72 kB / 436.3 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.4279, allocations: 79.7 kB / 436.3 MB, free: 3.027 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.4282, allocations: 87.55 kB / 436.4 MB, free: 2.941 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.4282, allocations: 15.94 kB / 436.4 MB, free: 2.926 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.4285, allocations: 75.94 kB / 436.5 MB, free: 2.852 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4287, allocations: 55.81 kB / 436.6 MB, free: 2.797 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.4288, allocations: 75.48 kB / 436.6 MB, free: 2.723 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.4297, allocations: 240.7 kB / 436.9 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4297, allocations: 0 / 436.9 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of FrontEnd: time 3.076e-06/0.4297, allocations: 0 / 436.9 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.555e-05/0.4297, allocations: 0 / 436.9 MB, free: 2.492 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.001219/0.4309, allocations: 486.4 kB / 437.4 MB, free: 1.98 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.431, allocations: 12.03 kB / 437.4 MB, free: 1.969 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.4311, allocations: 20.8 kB / 437.4 MB, free: 1.949 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007018/0.4318, allocations: 241.4 kB / 437.6 MB, free: 1.688 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.4318, allocations: 384 / 437.6 MB, free: 1.688 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.4318, allocations: 12.12 kB / 437.6 MB, free: 1.676 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.4323, allocations: 155.6 kB / 437.8 MB, free: 1.496 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4323, allocations: 4 kB / 437.8 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.4323, allocations: 0 / 437.8 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4323, allocations: 0 / 437.8 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4325, allocations: 43.92 kB / 437.8 MB, free: 1.449 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.4334, allocations: 353.4 kB / 438.2 MB, free: 1.055 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.4337, allocations: 119.9 kB / 438.3 MB, free: 0.9102 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.4338, allocations: 46.56 kB / 438.3 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.4339, allocations: 0 / 438.3 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.4341, allocations: 75.38 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 2.274e-06/0.4341, allocations: 0 / 438.4 MB, free: 0.7695 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0005167/0.4346, allocations: 157.4 kB / 438.6 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/0.4348, allocations: 162.2 kB / 438.7 MB, free: 424 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.4353, allocations: 337.8 kB / 439.1 MB, free: 80 kB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.4353, allocations: 25.7 kB / 439.1 MB, free: 48 kB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.4355, allocations: 132.3 kB / 439.2 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.4355, allocations: 19.89 kB / 439.2 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.4356, allocations: 33.7 kB / 439.3 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000327/0.4359, allocations: 334.8 kB / 439.6 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.436, allocations: 23.98 kB / 439.6 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.4362, allocations: 98.66 kB / 439.7 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.4363, allocations: 88.47 kB / 439.8 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4363, allocations: 0 / 439.8 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002826/0.4366, allocations: 125.5 kB / 439.9 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4366, allocations: 4 kB / 439.9 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4367, allocations: 4 kB / 439.9 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4367, allocations: 3.938 kB / 439.9 MB, free: 15.13 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4368, allocations: 19.98 kB / 440 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.4368, allocations: 3.938 kB / 440 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4369, allocations: 15.92 kB / 440 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4369, allocations: 4 kB / 440 MB, free: 15.09 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,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 (11):
 * Single equations (assignments): 11
 * 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.0001901/0.4371, allocations: 162.5 kB / 440.1 MB, free: 14.92 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4372, allocations: 73.53 kB / 440.2 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.4376, allocations: 123.3 kB / 440.3 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4376, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4376, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4376, allocations: 7.938 kB / 440.3 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.4379, allocations: 208.6 kB / 440.5 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4379, allocations: 0 / 440.5 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.4379, allocations: 11.98 kB / 440.6 MB, free: 14.45 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4379, allocations: 8.062 kB / 440.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.438, allocations: 0 / 440.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.438, allocations: 4 kB / 440.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.438, allocations: 0 / 440.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.4383, allocations: 170.7 kB / 440.7 MB, free: 14.25 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4384, allocations: 35.84 kB / 440.8 MB, free: 14.21 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.4384, allocations: 12 kB / 440.8 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.4385, allocations: 7.984 kB / 440.8 MB, free: 14.19 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.4386, allocations: 7.984 kB / 440.8 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4386, allocations: 11.94 kB / 440.8 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003129/0.4389, allocations: 241.2 kB / 441 MB, free: 13.94 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4389, allocations: 7.938 kB / 441 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003207/0.4392, allocations: 35.92 kB / 441.1 MB, free: 13.89 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (9):
 * Single equations (assignments): 7
 * 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.001709/0.4409, allocations: 423.1 kB / 441.5 MB, free: 13.63 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003097/0.4412, allocations: 79.84 kB / 441.6 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4412, allocations: 0 / 441.6 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.4413, allocations: 31.92 kB / 441.6 MB, free: 13.52 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.4418, allocations: 55.31 kB / 441.7 MB, free: 13.47 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.4426, allocations: 373.4 kB / 442 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.443, allocations: 0.7398 MB / 442.8 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001085/0.4432, allocations: 29.45 kB / 442.8 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.4432, allocations: 27.42 kB / 442.8 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of SimCode: time 8.42e-07/0.4432, allocations: 3.938 kB / 442.8 MB, free: 12.24 MB / 350.1 MB
Notification: Performance of Templates: time 0.008606/0.4518, allocations: 2.953 MB / 445.8 MB, free: 9.32 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 5.109591688029468]