Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.208/2.208, allocations: 230.6 MB / 258.2 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3492, allocations: 53.38 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004722/0.354, allocations: 1.884 MB / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.3571, allocations: 1.15 MB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.3572, allocations: 0 / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000889/0.3581, allocations: 167.5 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000635/0.3588, allocations: 155.4 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.3596, allocations: 171.4 kB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.36, allocations: 187.5 kB / 436 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3601, allocations: 21.55 kB / 436 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.3603, allocations: 83.62 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.3605, allocations: 91.61 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3605, allocations: 8 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.3607, allocations: 51.97 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3609, allocations: 43.83 kB / 436.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.361, allocations: 59.55 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.3615, allocations: 214 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3615, allocations: 0 / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3615, allocations: 0 / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3615, allocations: 3.938 kB / 436.6 MB, free: 2.418 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.001167/0.3627, allocations: 454.7 kB / 437 MB, free: 1.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3627, allocations: 12.03 kB / 437 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.3628, allocations: 20.8 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.3634, allocations: 213.2 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3634, allocations: 4.375 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.3634, allocations: 12.12 kB / 437.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.3639, allocations: 133.1 kB / 437.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.364, allocations: 11.94 kB / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.364, allocations: 4 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.364, allocations: 0 / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.3642, allocations: 39.91 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.3649, allocations: 306 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.3653, allocations: 103.9 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3655, allocations: 38.56 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.3655, allocations: 12 kB / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.3658, allocations: 71.39 kB / 438 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.3658, allocations: 0 / 438 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005973/0.3664, allocations: 153.4 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3665, allocations: 110.8 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.367, allocations: 273 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.367, allocations: 25.7 kB / 438.5 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.3671, allocations: 120.1 kB / 438.7 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.3674, allocations: 20.14 kB / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.3675, allocations: 29.67 kB / 438.7 MB, free: 80 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.3678, allocations: 338.8 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3679, allocations: 19.98 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3681, allocations: 90.78 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3684, allocations: 80.22 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3684, allocations: 0 / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004012/0.3688, allocations: 117.5 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3688, allocations: 4 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3688, allocations: 0 / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3689, allocations: 7.984 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.369, allocations: 15.92 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.369, allocations: 4 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3691, allocations: 11.95 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3692, allocations: 7.938 kB / 439.4 MB, free: 15.34 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,sample1.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 (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.0002224/0.3694, allocations: 154.6 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3695, allocations: 65.53 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.37, allocations: 111.6 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.37, allocations: 4 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.37, allocations: 3.938 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.37, allocations: 4 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.3703, allocations: 173.2 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3703, allocations: 0 / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.3703, allocations: 8 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.3703, allocations: 8.062 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3704, allocations: 3.984 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3704, allocations: 80 / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3704, allocations: 7.984 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.3708, allocations: 158.6 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.371, allocations: 35.83 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.371, allocations: 4 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3711, allocations: 4 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.3712, allocations: 7.984 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.3712, allocations: 4 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003389/0.3715, allocations: 208.5 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3715, allocations: 3.938 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.372, allocations: 27.94 kB / 440.4 MB, free: 14.29 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,sample1.u,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 (10): * Single equations (assignments): 8 * 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.002532/0.3745, allocations: 456.3 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.3749, allocations: 75.84 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3749, allocations: 0 / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3751, allocations: 32.17 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.3757, allocations: 54.67 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.3767, allocations: 325.7 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3769, allocations: 119.4 kB / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.377, allocations: 25.67 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.3771, allocations: 19.42 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3771, allocations: 0 / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Templates: time 0.01141/0.3885, allocations: 2.756 MB / 444.2 MB, free: 10.62 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 6.883694361997186]