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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009851/0.0009852, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008167/0.0008167, allocations: 104.8 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002038/0.0002038, allocations: 4 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1824, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08114/0.2635, allocations: 79.13 MB / 488.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.2638, allocations: 79.95 kB / 488.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.2796, allocations: 5.724 MB / 494.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2797, allocations: 0 / 494.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.2797, allocations: 4 kB / 494.3 MB, free: 5.66 MB / 362.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.000654/0.2803, allocations: 490.4 kB / 494.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2804, allocations: 8.031 kB / 494.8 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.2806, allocations: 35.72 kB / 494.9 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.2809, allocations: 254.6 kB / 495.1 MB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.2809, allocations: 12 kB / 495.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.281, allocations: 19.95 kB / 495.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.282, allocations: 0.626 MB / 495.8 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.282, allocations: 0 / 495.8 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.282, allocations: 7.984 kB / 495.8 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.282, allocations: 12 kB / 495.8 MB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.2824, allocations: 187.8 kB / 496 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.2829, allocations: 378.3 kB / 496.3 MB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.2833, allocations: 247.3 kB / 496.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2833, allocations: 4.062 kB / 496.6 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2834, allocations: 43.06 kB / 496.6 MB, free: 3.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.513e-06/0.2834, allocations: 0 / 496.6 MB, free: 3.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007911/0.2842, allocations: 433.3 kB / 497.1 MB, free: 2.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.2843, allocations: 135.7 kB / 497.2 MB, free: 2.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2844, allocations: 161.4 kB / 497.3 MB, free: 2.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2844, allocations: 29.7 kB / 497.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.2845, allocations: 97.08 kB / 497.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.2845, allocations: 47.53 kB / 497.5 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.2846, allocations: 12 kB / 497.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.2847, allocations: 338.9 kB / 497.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2848, allocations: 80.81 kB / 497.9 MB, free: 1.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.2851, allocations: 322.7 kB / 498.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.2853, allocations: 135.8 kB / 498.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2853, allocations: 0 / 498.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005651/0.2859, allocations: 409.5 kB / 498.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2859, allocations: 8 kB / 498.8 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2859, allocations: 8 kB / 498.8 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2859, allocations: 15.98 kB / 498.8 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2862, allocations: 91.77 kB / 498.9 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.2862, allocations: 15.94 kB / 498.9 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.2864, allocations: 31.78 kB / 499 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2864, allocations: 27.98 kB / 499 MB, free: 0.6328 MB / 362.7 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 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (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.ticks,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.0001518/0.2865, allocations: 182.3 kB / 499.2 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/0.287, allocations: 293.2 kB / 499.4 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.2871, allocations: 30.66 kB / 499.5 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2871, allocations: 7.984 kB / 499.5 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2871, allocations: 4 kB / 499.5 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2871, allocations: 0 / 499.5 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.2874, allocations: 253.2 kB / 499.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2874, allocations: 0 / 499.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.2876, allocations: 71.91 kB / 499.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.2876, allocations: 4 kB / 499.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2877, allocations: 7.984 kB / 499.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2877, allocations: 4 kB / 499.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2877, allocations: 0 / 499.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.2883, allocations: 459.2 kB / 0.4885 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2884, allocations: 128.7 kB / 0.4887 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.2884, allocations: 19.98 kB / 0.4887 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2886, allocations: 15.98 kB / 0.4887 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.2886, allocations: 4 kB / 0.4887 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2887, allocations: 11.94 kB / 0.4887 GB, free: 15.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.724e-05/0.2888, allocations: 140.5 kB / 0.4889 GB, free: 14.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2888, allocations: 0 / 0.4889 GB, free: 14.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.2891, allocations: 48 kB / 0.4889 GB, free: 14.87 MB / 378.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 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,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,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.0001349/0.2893, allocations: 124.7 kB / 0.489 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.2898, allocations: 296 kB / 0.4893 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2898, allocations: 1.812 kB / 0.4893 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.2898, allocations: 7.984 kB / 0.4893 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.2904, allocations: 210 kB / 0.4895 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2914, allocations: 0.5791 MB / 0.4901 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2917, allocations: 0.7881 MB / 0.4908 GB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.2918, allocations: 26.27 kB / 0.4909 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.2918, allocations: 23.44 kB / 0.4909 GB, free: 12.76 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2918, allocations: 0 / 0.4909 GB, free: 12.76 MB / 378.7 MB Notification: Performance of Templates: time 0.004666/0.2965, allocations: 2.3 MB / 0.4931 GB, free: 10.48 MB / 378.7 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