Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001746/0.001746, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00191/0.00191, allocations: 210.7 kB / 24.48 MB, free: 3.977 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 1.578/1.578, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 47.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4042, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.00377/0.408, allocations: 1.883 MB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.4104, allocations: 1.216 MB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.4105, allocations: 7.938 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.4109, allocations: 71.66 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.4114, allocations: 127.4 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.4121, allocations: 231.3 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.4124, allocations: 179.5 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4126, allocations: 32.67 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.4127, allocations: 75.7 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.4129, allocations: 95.53 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.4129, allocations: 8 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.4131, allocations: 71.95 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.4132, allocations: 51.83 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.4133, allocations: 55.61 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.4137, allocations: 238.7 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4137, allocations: 0 / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4137, allocations: 8 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.4137, allocations: 0 / 436.6 MB, free: 2.414 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.0009359/0.4147, allocations: 482.4 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4147, allocations: 8.031 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.4148, allocations: 28.8 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.4153, allocations: 229.4 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4153, allocations: 8.375 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.4153, allocations: 8.125 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.4158, allocations: 183.8 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4158, allocations: 0 / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4158, allocations: 4 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4158, allocations: 3.984 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4159, allocations: 39.91 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.4165, allocations: 326 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.4168, allocations: 119.9 kB / 438.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.51e-05/0.4169, allocations: 42.56 kB / 438.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4169, allocations: 4 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.4171, allocations: 75.38 kB / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.4171, allocations: 0 / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004496/0.4175, allocations: 161.4 kB / 438.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.4176, allocations: 136.8 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.418, allocations: 333.9 kB / 438.8 MB, free: 52 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.4181, allocations: 33.7 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.4182, allocations: 132.1 kB / 438.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.4183, allocations: 19.78 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.4183, allocations: 33.7 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4185, allocations: 334.8 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.642e-05/0.4186, allocations: 23.98 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.4188, allocations: 141.3 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.419, allocations: 96.23 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.419, allocations: 256 / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002609/0.4192, allocations: 125.5 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4193, allocations: 4 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4193, allocations: 4 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4193, allocations: 3.938 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4194, allocations: 23.98 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4194, allocations: 4.125 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.397e-05/0.4195, allocations: 7.984 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.4195, allocations: 4 kB / 439.8 MB, free: 15 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.0001669/0.4197, allocations: 166.4 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4198, allocations: 69.5 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.4201, allocations: 123.3 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4201, allocations: 4 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4201, allocations: 0 / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4201, allocations: 4.062 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.4203, allocations: 181.2 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4203, allocations: 0 / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.4204, allocations: 19.98 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4204, allocations: 0 / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4204, allocations: 4 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4204, allocations: 0 / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4204, allocations: 0 / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.4207, allocations: 182.5 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.4208, allocations: 31.84 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.4209, allocations: 12 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.4209, allocations: 3.984 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.421, allocations: 8 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.421, allocations: 7.984 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.4213, allocations: 249.1 kB / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4213, allocations: 0 / 440.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.4216, allocations: 40.02 kB / 440.8 MB, free: 13.84 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 (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.001702/0.4233, allocations: 455.8 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.4235, allocations: 83.84 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4235, allocations: 0 / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.4236, allocations: 31.92 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.4241, allocations: 73.64 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.4247, allocations: 376.9 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4249, allocations: 140.3 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.035e-05/0.425, allocations: 25.62 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.425, allocations: 23.42 kB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.425, allocations: 0 / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Templates: time 0.007493/0.4325, allocations: 3.184 MB / 445.2 MB, free: 9.641 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.165547889992013]