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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 99.33 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.669/1.669, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 4 kB / 306.6 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 51.49 MB / 358.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002119/0.1683, allocations: 1.437 MB / 359.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1693, allocations: 0.6081 MB / 360.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1695, allocations: 3.938 kB / 360.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1696, allocations: 15.86 kB / 360.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1698, allocations: 43.81 kB / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1702, allocations: 111.6 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1704, allocations: 87.83 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1705, allocations: 37.47 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1707, allocations: 55.77 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1709, allocations: 91.7 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1709, allocations: 8 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.171, allocations: 15.94 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.1711, allocations: 51.88 kB / 360.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.1711, allocations: 61.56 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1713, allocations: 144 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1713, allocations: 0 / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1713, allocations: 0 / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1713, allocations: 0 / 360.8 MB, free: 11.32 MB / 302.1 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.0007635/0.1721, allocations: 493 kB / 361.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1722, allocations: 8.031 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.1724, allocations: 39.7 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1726, allocations: 234.7 kB / 361.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1727, allocations: 16 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.1727, allocations: 23.95 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1738, allocations: 0.6296 MB / 362.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.1738, allocations: 4 kB / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1738, allocations: 8 kB / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.1738, allocations: 11.98 kB / 362.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.1742, allocations: 187.8 kB / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.1747, allocations: 370.3 kB / 362.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.1751, allocations: 239.6 kB / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.1751, allocations: 12.19 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1752, allocations: 50.55 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.723e-06/0.1752, allocations: 0 / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008056/0.176, allocations: 417.9 kB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.1761, allocations: 135.8 kB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1763, allocations: 182.3 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.1763, allocations: 37.7 kB / 363.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.1764, allocations: 93.12 kB / 364 MB, free: 7.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1765, allocations: 51.53 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.1765, allocations: 11.94 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1766, allocations: 338.8 kB / 364.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1768, allocations: 72.83 kB / 364.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.177, allocations: 326.7 kB / 364.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.1772, allocations: 139.8 kB / 364.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1773, allocations: 4 kB / 364.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005569/0.1778, allocations: 404.7 kB / 365.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1779, allocations: 9 kB / 365.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1779, allocations: 8 kB / 365.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.1779, allocations: 27.88 kB / 365.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1782, allocations: 79.84 kB / 365.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.1782, allocations: 19.92 kB / 365.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1783, allocations: 35.75 kB / 365.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1784, allocations: 20 kB / 365.5 MB, free: 6.277 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.1786, allocations: 186.4 kB / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.179, allocations: 285.3 kB / 365.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.1791, allocations: 42.64 kB / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1791, allocations: 4 kB / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1791, allocations: 0 / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1791, allocations: 3.984 kB / 366 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1794, allocations: 249.2 kB / 366.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1794, allocations: 0 / 366.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.1797, allocations: 63.89 kB / 366.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1797, allocations: 4 kB / 366.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.1797, allocations: 12 kB / 366.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1797, allocations: 0 / 366.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1797, allocations: 8 kB / 366.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.1803, allocations: 455.2 kB / 366.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1804, allocations: 136.7 kB / 366.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.1805, allocations: 19.98 kB / 366.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1806, allocations: 16 kB / 366.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1807, allocations: 0 / 366.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1807, allocations: 11.98 kB / 366.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1808, allocations: 136.5 kB / 367.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1808, allocations: 0 / 367.1 MB, free: 4.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.1812, allocations: 44 kB / 367.1 MB, free: 4.52 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001535/0.1813, allocations: 125 kB / 367.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.1819, allocations: 289.7 kB / 367.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1819, allocations: 0 / 367.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.1819, allocations: 8 kB / 367.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.1825, allocations: 207.8 kB / 367.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1837, allocations: 0.6143 MB / 368.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1841, allocations: 0.7842 MB / 369.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.1842, allocations: 22.3 kB / 369.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1843, allocations: 27.42 kB / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1843, allocations: 0 / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of Templates: time 0.005351/0.1896, allocations: 2.291 MB / 371.5 MB, free: 120 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches