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.001085/0.001085, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001712/0.002797, allocations: 453.9 kB / 10.45 MB, free: 244 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.001025/0.001025, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002431, allocations: 479.6 kB / 11.82 MB, free: 2.34 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.9388/0.9388, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.045, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.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 1.403e-06/1.403e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.667e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002892/0.002909, allocations: 1.677 MB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000854/0.003763, allocations: 0.5491 MB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.00383, allocations: 3.938 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.003866, allocations: 3.938 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.003942, allocations: 15.86 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.004161, allocations: 59.69 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.004264, allocations: 51.73 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.586e-05/0.00434, allocations: 12.17 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.004478, allocations: 51.83 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.004529, allocations: 19.98 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.004545, allocations: 4 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.015e-05/0.004595, allocations: 4 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.00463, allocations: 11.94 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.004651, allocations: 11.94 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.004768, allocations: 47.77 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.004779, allocations: 0 / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004779, allocations: 3.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.004788, allocations: 0 / 247.7 MB, free: 11.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003807/0.005169, allocations: 296.2 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.005198, allocations: 8.625 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.005371, allocations: 98.03 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.00554, allocations: 134.2 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.00555, allocations: 8.375 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.00556, allocations: 384 / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.005737, allocations: 114 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005744, allocations: 0 / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.00575, allocations: 4 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005757, allocations: 4 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.005779, allocations: 11.86 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.005959, allocations: 161.1 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.006005, allocations: 37.12 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.006021, allocations: 13.84 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.006034, allocations: 0 / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.006057, allocations: 34.5 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.006058, allocations: 0 / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.006174, allocations: 53.62 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.006219, allocations: 77.11 kB / 248.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.006314, allocations: 142 kB / 248.9 MB, free: 9.711 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.006326, allocations: 29.64 kB / 248.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.006362, allocations: 88.12 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.006375, allocations: 3.953 kB / 249 MB, free: 9.582 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.006404, allocations: 17.72 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.006486, allocations: 318.8 kB / 249.3 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.006496, allocations: 0 / 249.3 MB, free: 9.238 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.006505, allocations: 8.25 kB / 249.3 MB, free: 9.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.006525, allocations: 4.859 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006526, allocations: 0 / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.222e-05/0.006578, allocations: 41.62 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.00659, allocations: 4 kB / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006594, allocations: 0 / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006605, allocations: 0 / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.006659, allocations: 7.938 kB / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.006664, allocations: 3.984 kB / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.006685, allocations: 0 / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.00669, allocations: 8.094 kB / 249.4 MB, free: 9.152 MB / 250.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 5.558e-05/0.006745, allocations: 108.7 kB / 249.5 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.006792, allocations: 41.62 kB / 249.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.006815, allocations: 7.812 kB / 249.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.006817, allocations: 0 / 249.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.00682, allocations: 4 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006823, allocations: 0 / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.006933, allocations: 73.88 kB / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006935, allocations: 0 / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.006968, allocations: 4 kB / 249.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.007001, allocations: 27.84 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007003, allocations: 0 / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.007007, allocations: 0 / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.00701, allocations: 3.938 kB / 249.7 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007011, allocations: 0 / 249.7 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.007098, allocations: 140.4 kB / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.007111, allocations: 3.938 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.007168, allocations: 0 / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.007191, allocations: 7.984 kB / 249.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007194, allocations: 0 / 249.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.007227, allocations: 28.86 kB / 249.8 MB, free: 8.652 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007227, allocations: 4 kB / 249.8 MB, free: 8.648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.007413, allocations: 4 kB / 249.9 MB, free: 8.645 MB / 250.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 7.037e-05/0.007484, allocations: 76.42 kB / 249.9 MB, free: 8.559 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.646e-05/0.00754, allocations: 16.78 kB / 249.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.007545, allocations: 4 kB / 249.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.007564, allocations: 8.859 kB / 250 MB, free: 8.523 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.007841, allocations: 135.2 kB / 250.1 MB, free: 8.363 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/0.00867, allocations: 175.5 kB / 250.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.008709, allocations: 59.34 kB / 250.3 MB, free: 8.086 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.424e-05/0.008733, allocations: 8.188 kB / 250.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.008796, allocations: 59.36 kB / 250.4 MB, free: 8.02 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008797, allocations: 0 / 250.4 MB, free: 8.02 MB / 250.7 MB Notification: Performance of Templates: time 0.002279/0.01108, allocations: 0.7052 MB / 251.1 MB, free: 7.336 MB / 250.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4561968483030796]