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.001261/0.001262, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 226.5 MB / 245.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008836/0.000884, allocations: 99.84 kB / 297.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000246/0.0002461, allocations: 11.98 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2625, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3759, allocations: 79.07 MB / 488.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.3763, allocations: 83.95 kB / 488.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.3935, allocations: 5.713 MB / 494.2 MB, free: 6.652 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3936, allocations: 4 kB / 494.2 MB, free: 6.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.3936, allocations: 4 kB / 494.3 MB, free: 6.645 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.0007697/0.3944, allocations: 482.7 kB / 494.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3945, allocations: 8.031 kB / 494.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.3947, allocations: 44.55 kB / 494.8 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.395, allocations: 247.9 kB / 495 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.395, allocations: 16.38 kB / 495 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.3951, allocations: 16.38 kB / 495.1 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3962, allocations: 0.6343 MB / 495.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3963, allocations: 192 / 495.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3963, allocations: 15.88 kB / 495.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.3963, allocations: 8 kB / 495.7 MB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.3967, allocations: 187.8 kB / 495.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3973, allocations: 366.4 kB / 496.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.3977, allocations: 258 kB / 496.5 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.398, allocations: 159 kB / 496.7 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.3981, allocations: 8 kB / 496.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3981, allocations: 42.55 kB / 496.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.3981, allocations: 0 / 496.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.0008311/0.399, allocations: 430.3 kB / 497.1 MB, free: 3.555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/0.3991, allocations: 138.7 kB / 497.3 MB, free: 3.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3992, allocations: 172 kB / 497.4 MB, free: 3.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3993, allocations: 29.7 kB / 497.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.3993, allocations: 105.1 kB / 497.6 MB, free: 3.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.3994, allocations: 43.72 kB / 497.6 MB, free: 3.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.3994, allocations: 12 kB / 497.6 MB, free: 3.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3995, allocations: 334.8 kB / 497.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3997, allocations: 72.83 kB / 498 MB, free: 2.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.4, allocations: 322.7 kB / 498.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.4004, allocations: 417 kB / 498.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4004, allocations: 0 / 498.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005969/0.401, allocations: 412.9 kB / 499.1 MB, free: 1.234 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4011, allocations: 8 kB / 499.1 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4011, allocations: 8 kB / 499.2 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.4011, allocations: 12.72 kB / 499.2 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.4014, allocations: 91.7 kB / 499.3 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.4014, allocations: 19.94 kB / 499.3 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.4016, allocations: 39.67 kB / 499.3 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.4016, allocations: 24 kB / 499.3 MB, free: 1.035 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.0001919/0.4018, allocations: 174.4 kB / 499.5 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/0.4023, allocations: 293.5 kB / 499.8 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.4024, allocations: 38.64 kB / 499.8 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.4024, allocations: 4 kB / 499.8 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4024, allocations: 4 kB / 499.8 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4024, allocations: 4 kB / 499.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.4026, allocations: 249.3 kB / 0.4884 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4027, allocations: 0 / 0.4884 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.4029, allocations: 63.91 kB / 0.4884 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.4029, allocations: 4 kB / 0.4884 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.403, allocations: 7.984 kB / 0.4884 GB, free: 148 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.403, allocations: 4 kB / 0.4884 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.403, allocations: 80 / 0.4884 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.4036, allocations: 448.1 kB / 0.4889 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4037, allocations: 132.7 kB / 0.489 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.4038, allocations: 19.98 kB / 0.489 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.404, allocations: 15.98 kB / 0.489 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.404, allocations: 8 kB / 0.489 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.404, allocations: 8 kB / 0.489 GB, free: 15.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.89e-05/0.4041, allocations: 135.2 kB / 0.4892 GB, free: 15.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4041, allocations: 0 / 0.4892 GB, free: 15.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.4045, allocations: 52 kB / 0.4892 GB, free: 15.3 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.0001736/0.4047, allocations: 119.2 kB / 0.4893 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.4054, allocations: 293.2 kB / 0.4896 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.4054, allocations: 0 / 0.4896 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.4055, allocations: 16.55 kB / 0.4896 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.4064, allocations: 225.9 kB / 0.4899 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.4079, allocations: 0.5753 MB / 0.4904 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.4085, allocations: 0.7764 MB / 0.4912 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.4086, allocations: 18.3 kB / 0.4912 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.4087, allocations: 35.42 kB / 0.4912 GB, free: 13.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4087, allocations: 0 / 0.4912 GB, free: 13.19 MB / 378.7 MB Notification: Performance of Templates: time 0.006511/0.4153, allocations: 2.298 MB / 0.4935 GB, free: 10.91 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/jenkins1/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