Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0007863/0.0007863, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001923, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007214/0.0007214, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009314/0.001653, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9798/0.9798, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09047/1.07, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.075e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002605/0.002626, allocations: 1.991 MB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.004192, allocations: 1.28 MB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.004315, allocations: 7.938 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.004524, allocations: 63.61 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.004803, allocations: 135.4 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.005357, allocations: 230.1 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.005595, allocations: 187.5 kB / 248.9 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.005694, allocations: 18.45 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.005861, allocations: 136.4 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.005958, allocations: 67.81 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.005978, allocations: 8 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.006136, allocations: 71.88 kB / 249.2 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.006201, allocations: 51.78 kB / 249.2 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.006249, allocations: 31.88 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.006484, allocations: 175.3 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.006498, allocations: 0 / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0065, allocations: 0 / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.006517, allocations: 0 / 249.4 MB, free: 9.215 MB / 250.7 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.0005961/0.007113, allocations: 484.7 kB / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.007143, allocations: 12.03 kB / 249.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.007191, allocations: 24.91 kB / 249.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.007426, allocations: 196.8 kB / 250.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.007447, allocations: 8.312 kB / 250.1 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.007459, allocations: 8.375 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.007678, allocations: 149.7 kB / 250.3 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.007687, allocations: 3.984 kB / 250.3 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.007696, allocations: 4 kB / 250.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.007702, allocations: 0 / 250.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.007747, allocations: 22.75 kB / 250.3 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.00803, allocations: 211.5 kB / 250.5 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.008155, allocations: 129.4 kB / 250.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.008193, allocations: 42.5 kB / 250.7 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.008213, allocations: 8 kB / 250.7 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.008322, allocations: 74.14 kB / 250.8 MB, free: 7.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.008324, allocations: 0 / 250.8 MB, free: 7.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001641/0.008488, allocations: 81.59 kB / 250.9 MB, free: 7.625 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.008546, allocations: 114.8 kB / 251 MB, free: 7.488 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.008742, allocations: 262.6 kB / 251.2 MB, free: 7.215 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.008767, allocations: 29.7 kB / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.008821, allocations: 104.6 kB / 251.4 MB, free: 7.074 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.008845, allocations: 20.12 kB / 251.4 MB, free: 7.055 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.008885, allocations: 25.67 kB / 251.4 MB, free: 7.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.008996, allocations: 338.8 kB / 251.7 MB, free: 6.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.009017, allocations: 6.828 kB / 251.7 MB, free: 6.676 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/0.009061, allocations: 56.27 kB / 251.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.009113, allocations: 39.34 kB / 251.8 MB, free: 6.559 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.009116, allocations: 0 / 251.8 MB, free: 6.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.51e-05/0.009211, allocations: 72.38 kB / 251.9 MB, free: 6.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.009223, allocations: 4 kB / 251.9 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009228, allocations: 4.062 kB / 251.9 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.009237, allocations: 0 / 251.9 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.009318, allocations: 19.98 kB / 251.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.009322, allocations: 4 kB / 251.9 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.009357, allocations: 3.938 kB / 251.9 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.009363, allocations: 4 kB / 251.9 MB, free: 6.441 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.541e-05/0.009448, allocations: 120.7 kB / 252.1 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.009493, allocations: 53.88 kB / 252.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.009598, allocations: 79.5 kB / 252.2 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0096, allocations: 0 / 252.2 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.009604, allocations: 8 kB / 252.2 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009608, allocations: 0 / 252.2 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.00971, allocations: 117.7 kB / 252.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.009714, allocations: 4 kB / 252.3 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.00976, allocations: 15.98 kB / 252.3 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.009802, allocations: 31.78 kB / 252.4 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009805, allocations: 4 kB / 252.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.009813, allocations: 0 / 252.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.009818, allocations: 7.938 kB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.00982, allocations: 7.938 kB / 252.4 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.009913, allocations: 108.5 kB / 252.5 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.009933, allocations: 7.938 kB / 252.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.009977, allocations: 0 / 252.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.01002, allocations: 11.98 kB / 252.5 MB, free: 5.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01003, allocations: 7.984 kB / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01014, allocations: 97.61 kB / 252.6 MB, free: 5.703 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01014, allocations: 0 / 252.6 MB, free: 5.703 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.01029, allocations: 35.92 kB / 252.7 MB, free: 5.668 MB / 250.7 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.001298/0.01159, allocations: 0.5556 MB / 253.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01172, allocations: 40.77 kB / 253.2 MB, free: 5.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.01173, allocations: 4 kB / 253.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.755e-05/0.01177, allocations: 24.83 kB / 253.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01199, allocations: 69.81 kB / 253.3 MB, free: 5.188 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.01254, allocations: 339 kB / 253.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.01259, allocations: 87.97 kB / 253.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.01264, allocations: 25.59 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/0.01274, allocations: 79.36 kB / 253.9 MB, free: 4.613 MB / 250.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01274, allocations: 0 / 253.9 MB, free: 4.613 MB / 250.7 MB Notification: Performance of Templates: time 0.004845/0.01758, allocations: 3.258 MB / 257.1 MB, free: 1.406 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.680390722118318]