Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.0009152/0.0009152, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009614/0.0009614, allocations: 162.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.9954/0.9954, allocations: 177 MB / 205.2 MB, free: 4.961 MB / 186.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 3.938 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.927e-05, allocations: 5.266 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003229/0.003258, allocations: 1.658 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.004358, allocations: 0.549 MB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.004466, allocations: 7.938 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.358e-05/0.004539, allocations: 7.922 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.004713, allocations: 3.938 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.004989, allocations: 71.61 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.005096, allocations: 47.8 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.005197, allocations: 20.16 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.005347, allocations: 39.84 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.005408, allocations: 7.984 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.005425, allocations: 7.984 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.063e-05/0.005486, allocations: 8 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.00553, allocations: 11.94 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.005554, allocations: 15.92 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.005678, allocations: 43.83 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.00568, allocations: 0 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005681, allocations: 0 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005685, allocations: 0 / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003414/0.006026, allocations: 288.5 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.006064, allocations: 11.98 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.006213, allocations: 20.92 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.006381, allocations: 142.1 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.006389, allocations: 4.375 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.006397, allocations: 4.375 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.006553, allocations: 118 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.00656, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.006565, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.006569, allocations: 4 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.389e-05/0.006583, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.006737, allocations: 157.1 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.463e-05/0.006771, allocations: 33.19 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.006787, allocations: 13.84 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.006799, allocations: 3.938 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.006818, allocations: 34.5 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.006818, allocations: 8 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 9.506e-05/0.006913, allocations: 45.62 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.006958, allocations: 77.11 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.007044, allocations: 135.8 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.007053, allocations: 25.7 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.007085, allocations: 92.11 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.007097, allocations: 7.891 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.007118, allocations: 17.72 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.007227, allocations: 318.8 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-06/0.007233, allocations: 4.25 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.00724, allocations: 4 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.913e-05/0.00726, allocations: 8.797 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.007263, allocations: 4 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.081e-05/0.007303, allocations: 37.62 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.007314, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007318, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.007328, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.007367, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.007371, allocations: 4.094 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.007385, allocations: 4 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.00739, allocations: 0 / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.949e-05/0.00744, allocations: 112.7 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.007474, allocations: 41.58 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.007496, allocations: 11.8 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007497, allocations: 0 / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.0075, allocations: 4 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007504, allocations: 3.984 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.37e-05/0.007578, allocations: 73.88 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007578, allocations: 4.031 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.007596, allocations: 4 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007597, allocations: 3.938 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-06/0.007601, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.007601, allocations: 4 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007602, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.991e-05/0.007662, allocations: 136.3 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.007684, allocations: 19.94 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.007695, allocations: 7.938 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.728e-05/0.007722, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.007743, allocations: 8.031 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.007745, allocations: 0 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.077e-05/0.007765, allocations: 32.38 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007766, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001095/0.007875, allocations: 15.88 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 5.677e-05/0.007932, allocations: 72.42 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.694e-05/0.007979, allocations: 12.86 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.007982, allocations: 4 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.007993, allocations: 12.86 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.00816, allocations: 28.17 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.008516, allocations: 171.7 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.342e-05/0.00855, allocations: 59.34 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.949e-05/0.008569, allocations: 4.25 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.008617, allocations: 55.36 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008618, allocations: 160 / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Templates: time 0.001948/0.01057, allocations: 0.6688 MB / 279.1 MB, free: 11.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/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.5721837268210948]