Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.0008178/0.0008178, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.001813, 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.0009582/0.0009582, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009658/0.001924, 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.9736/0.9736, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.077, allocations: 53.86 MB / 243.7 MB, free: 14.92 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.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.148e-05, allocations: 5.828 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.00285/0.002871, allocations: 1.849 MB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.00818, allocations: 0.6852 MB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.008292, allocations: 7.938 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.008406, allocations: 19.8 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.008571, allocations: 39.7 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.008958, allocations: 147.4 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.009141, allocations: 143.6 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.009232, allocations: 14.47 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.009425, allocations: 107.8 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.0096, allocations: 91.81 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.009628, allocations: 12 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.009697, allocations: 23.92 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.009774, allocations: 59.78 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.009824, allocations: 35.88 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.0131, allocations: 155.4 kB / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.879e-05/0.01312, allocations: 0 / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.01312, allocations: 0 / 248.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.01314, allocations: 0 / 248.4 MB, free: 10.26 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007013/0.01384, allocations: 447.5 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.01389, allocations: 12.03 kB / 248.8 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.01407, allocations: 114 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.0143, allocations: 185.4 kB / 249.1 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.01433, allocations: 16.38 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.01435, allocations: 12.38 kB / 249.2 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.0149, allocations: 457.1 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01491, allocations: 4.188 kB / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.01493, allocations: 4.375 kB / 249.6 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.01496, allocations: 19.91 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.01509, allocations: 78.64 kB / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.01534, allocations: 192.7 kB / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.01553, allocations: 134.4 kB / 250 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.01562, allocations: 79.25 kB / 250.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.01565, allocations: 12 kB / 250.1 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.01567, allocations: 46.5 kB / 250.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.01568, allocations: 0 / 250.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.003337/0.01901, allocations: 197.5 kB / 250.4 MB, free: 8.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.01911, allocations: 138.7 kB / 250.5 MB, free: 7.957 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.01921, allocations: 170.6 kB / 250.7 MB, free: 7.777 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.01923, allocations: 33.7 kB / 250.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.01927, allocations: 89.12 kB / 250.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.0193, allocations: 35.77 kB / 250.8 MB, free: 7.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.01936, allocations: 41.92 kB / 250.9 MB, free: 7.562 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.01945, allocations: 326.9 kB / 251.2 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.01948, allocations: 28.39 kB / 251.2 MB, free: 7.207 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.01956, allocations: 108.9 kB / 251.3 MB, free: 7.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.01969, allocations: 138.6 kB / 251.4 MB, free: 6.879 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01969, allocations: 4 kB / 251.5 MB, free: 6.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000175/0.01986, allocations: 145.6 kB / 251.6 MB, free: 6.727 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01988, allocations: 8 kB / 251.6 MB, free: 6.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01989, allocations: 4 kB / 251.6 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.0199, allocations: 7.938 kB / 251.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.02002, allocations: 39.92 kB / 251.7 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.02003, allocations: 8 kB / 251.7 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.02009, allocations: 19.83 kB / 251.7 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.0201, allocations: 11.94 kB / 251.7 MB, free: 6.629 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001171/0.02022, allocations: 145.2 kB / 251.8 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.02042, allocations: 142.6 kB / 252 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.02047, allocations: 34.64 kB / 252 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.02047, allocations: 7.938 kB / 252 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.02048, allocations: 0 / 252 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.02048, allocations: 3.984 kB / 252 MB, free: 6.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.0208, allocations: 105.8 kB / 252.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0208, allocations: 0 / 252.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.021, allocations: 71.89 kB / 252.2 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.02107, allocations: 43.72 kB / 252.2 MB, free: 6.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02108, allocations: 3.938 kB / 252.2 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.02109, allocations: 15.98 kB / 252.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.02109, allocations: 3.938 kB / 252.3 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0211, allocations: 0 / 252.3 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.914e-05/0.02119, allocations: 152.1 kB / 252.4 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.02122, allocations: 16 kB / 252.4 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.02131, allocations: 15.98 kB / 252.4 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.02134, allocations: 7.922 kB / 252.4 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.02135, allocations: 8 kB / 252.5 MB, free: 5.809 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.02139, allocations: 44.8 kB / 252.5 MB, free: 5.762 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02139, allocations: 0 / 252.5 MB, free: 5.762 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003256/0.02465, allocations: 44.03 kB / 252.5 MB, free: 5.719 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 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 0.0001241/0.02477, allocations: 100.3 kB / 252.6 MB, free: 5.613 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.02496, allocations: 118.5 kB / 252.8 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.02497, allocations: 0.875 kB / 252.8 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.02498, allocations: 8.859 kB / 252.8 MB, free: 5.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.0254, allocations: 157.9 kB / 252.9 MB, free: 5.328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.02671, allocations: 0.5176 MB / 253.4 MB, free: 4.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.147e-05/0.02679, allocations: 116.7 kB / 253.5 MB, free: 4.641 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.02683, allocations: 13.95 kB / 253.6 MB, free: 4.629 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.02693, allocations: 79.36 kB / 253.6 MB, free: 4.551 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02693, allocations: 4 kB / 253.6 MB, free: 4.547 MB / 250.7 MB Notification: Performance of Templates: time 0.0113/0.03823, allocations: 2.702 MB / 256.3 MB, free: 1.883 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.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.5181229570880532]