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.001429/0.001429, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.00153/0.00153, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.576/1.576, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001978/0.001978, allocations: 71.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3986, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.0045/0.4031, allocations: 1.919 MB / 434 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.4059, allocations: 1.305 MB / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.4061, allocations: 3.938 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.4066, allocations: 71.66 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.407, allocations: 131.4 kB / 435.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.4078, allocations: 219.3 kB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.4082, allocations: 183.5 kB / 435.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.4083, allocations: 21.55 kB / 435.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.4085, allocations: 75.69 kB / 436 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.4086, allocations: 91.66 kB / 436 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.4087, allocations: 8 kB / 436.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.4089, allocations: 71.89 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.409, allocations: 55.77 kB / 436.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.4091, allocations: 75.48 kB / 436.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.4097, allocations: 244.5 kB / 436.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4097, allocations: 0 / 436.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4097, allocations: 0 / 436.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.4097, allocations: 3.938 kB / 436.5 MB, free: 2.914 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.001254/0.4109, allocations: 0.5504 MB / 437 MB, free: 2.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.411, allocations: 8.031 kB / 437.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.4111, allocations: 24.8 kB / 437.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/0.4119, allocations: 291.7 kB / 437.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.4119, allocations: 8.375 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.4119, allocations: 8.125 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.4125, allocations: 159 kB / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4126, allocations: 0 / 437.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.4126, allocations: 7.938 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4126, allocations: 4 kB / 437.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.4128, allocations: 39.89 kB / 437.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.4137, allocations: 386.4 kB / 438 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.4142, allocations: 115.9 kB / 438.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4143, allocations: 46.5 kB / 438.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.4143, allocations: 0 / 438.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.4147, allocations: 79.38 kB / 438.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.4147, allocations: 4 kB / 438.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006726/0.4154, allocations: 157.4 kB / 438.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/0.4156, allocations: 162.2 kB / 438.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.4162, allocations: 330.7 kB / 438.8 MB, free: 308 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.4162, allocations: 33.7 kB / 438.9 MB, free: 268 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.4164, allocations: 128.1 kB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.4164, allocations: 20.09 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.4165, allocations: 37.7 kB / 439.1 MB, free: 72 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003123/0.4168, allocations: 334.8 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4169, allocations: 23.98 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.4172, allocations: 82.86 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.4174, allocations: 88.22 kB / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4174, allocations: 0 / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004341/0.4179, allocations: 129.4 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.4179, allocations: 8.125 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4179, allocations: 48 / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.4179, allocations: 7.984 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.4181, allocations: 27.86 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.4181, allocations: 4 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4182, allocations: 7.938 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.4182, allocations: 4 kB / 439.8 MB, free: 15.31 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.0002334/0.4185, allocations: 158.3 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4186, allocations: 73.45 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.419, allocations: 115.4 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.419, allocations: 4 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.419, allocations: 4.312 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.419, allocations: 3.938 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.4194, allocations: 249.6 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4194, allocations: 4 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.4195, allocations: 15.94 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4195, allocations: 0 / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4195, allocations: 8.062 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4195, allocations: 0 / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4195, allocations: 3.984 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.4199, allocations: 162.6 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.4201, allocations: 116.9 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.4202, allocations: 0 / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.4202, allocations: 11.98 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.4203, allocations: 8 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.4203, allocations: 7.938 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004748/0.4208, allocations: 249.9 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4208, allocations: 0 / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.4213, allocations: 31.94 kB / 441 MB, free: 14 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.002221/0.4235, allocations: 432.6 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.4238, allocations: 67.91 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4238, allocations: 0 / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.424, allocations: 27.98 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.4246, allocations: 75.22 kB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.4257, allocations: 385.2 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009617/0.4267, allocations: 0.7397 MB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.4269, allocations: 29.52 kB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.427, allocations: 27.42 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.427, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01368/0.4406, allocations: 2.93 MB / 445.7 MB, free: 9.43 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.001805325970054]