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.001544/0.001544, allocations: 88.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.001552/0.001552, allocations: 164.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.9836/0.9836, allocations: 177 MB / 205.2 MB, free: 5.043 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.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.532e-06/1.532e-06, allocations: 3.938 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.974e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002542/0.002562, allocations: 1.829 MB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.003553, allocations: 0.6814 MB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.003652, allocations: 11.88 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.003815, allocations: 27.72 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.004007, allocations: 39.66 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.004345, allocations: 123.6 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.004509, allocations: 163.5 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.004603, allocations: 26.44 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.00476, allocations: 87.8 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.00492, allocations: 95.73 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.004944, allocations: 16 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.005, allocations: 16 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.005062, allocations: 67.8 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.005108, allocations: 55.81 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.005288, allocations: 163.4 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.00529, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.005292, allocations: 7.984 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.005296, allocations: 0 / 276.8 MB, free: 13.58 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004547/0.005751, allocations: 407.8 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.005783, allocations: 11.98 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.005901, allocations: 44.88 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.006095, allocations: 193.3 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.006119, allocations: 20.36 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.006137, allocations: 16.38 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.006576, allocations: 457.1 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.006586, allocations: 4.125 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006597, allocations: 8.375 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.00662, allocations: 15.94 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.206e-05/0.006712, allocations: 70.77 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.006917, allocations: 204.6 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.007067, allocations: 130.5 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.007133, allocations: 71.11 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.007156, allocations: 12 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.007179, allocations: 38.56 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.00718, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.000275/0.007456, allocations: 213.5 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.007536, allocations: 138.8 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.007627, allocations: 154.6 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.007646, allocations: 29.7 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.007679, allocations: 93.11 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.007713, allocations: 39.72 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.007756, allocations: 45.92 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.007837, allocations: 326.8 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.007857, allocations: 16.45 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.007922, allocations: 112.9 kB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.008021, allocations: 146.8 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.008023, allocations: 0 / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001364/0.00816, allocations: 145.3 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.008172, allocations: 8.375 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008178, allocations: 8 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.008194, allocations: 7.938 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.008278, allocations: 35.92 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.008284, allocations: 7.984 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.008329, allocations: 15.95 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.008339, allocations: 8 kB / 280 MB, free: 10.08 MB / 266.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.0001026/0.008442, allocations: 140.5 kB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.008595, allocations: 146.9 kB / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.008635, allocations: 38.66 kB / 280.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.008641, allocations: 11.92 kB / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.008642, allocations: 0 / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008646, allocations: 0 / 280.4 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.008751, allocations: 105.7 kB / 280.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.008753, allocations: 0 / 280.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.008887, allocations: 67.91 kB / 280.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.008894, allocations: 11.97 kB / 280.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.008906, allocations: 4 kB / 280.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.008909, allocations: 4.078 kB / 280.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.008912, allocations: 3.984 kB / 280.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.831e-05/0.00899, allocations: 164 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.009312, allocations: 47.77 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.009349, allocations: 12 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.009407, allocations: 11.98 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.009433, allocations: 7.938 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.009445, allocations: 8 kB / 280.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.009636, allocations: 45.86 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009636, allocations: 0 / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.009805, allocations: 40 kB / 280.9 MB, free: 9.168 MB / 266.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 9.146e-05/0.009897, allocations: 96.38 kB / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01005, allocations: 122.9 kB / 281.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.01005, allocations: 4 kB / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-06/0.01006, allocations: 8.797 kB / 281.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.01037, allocations: 147.4 kB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007407/0.01111, allocations: 0.5058 MB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.01117, allocations: 112.8 kB / 281.9 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.01121, allocations: 13.95 kB / 281.9 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.0113, allocations: 79.36 kB / 282 MB, free: 8.016 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.0113, allocations: 4 kB / 282 MB, free: 8.012 MB / 266.7 MB Notification: Performance of Templates: time 0.004558/0.01586, allocations: 2.664 MB / 284.6 MB, free: 5.379 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.771721651777625]