Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 171.9 kB / 16.8 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 223 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008123/0.0008121, allocations: 100.9 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07917/0.07917, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.000421, allocations: 20 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.08763, allocations: 50.37 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2885/0.3762, allocations: 79.26 MB / 0.5106 GB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3765, allocations: 80.17 kB / 0.5107 GB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01286/0.3894, allocations: 5.233 MB / 0.5158 GB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3894, allocations: 0 / 0.5158 GB, free: 11.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.3894, allocations: 3.781 kB / 0.5158 GB, free: 11.37 MB / 330.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.0006225/0.3901, allocations: 481.8 kB / 0.5163 GB, free: 10.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3901, allocations: 7.688 kB / 0.5163 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.3902, allocations: 24.03 kB / 0.5163 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3905, allocations: 256.7 kB / 0.5165 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.3906, allocations: 14.84 kB / 0.5165 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.3907, allocations: 19.66 kB / 0.5166 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3917, allocations: 0.6313 MB / 0.5172 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3917, allocations: 8.188 kB / 0.5172 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3917, allocations: 7.5 kB / 0.5172 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.3918, allocations: 11.38 kB / 0.5172 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.3922, allocations: 184 kB / 0.5174 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.3927, allocations: 380.6 kB / 0.5177 GB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3931, allocations: 245.1 kB / 0.518 GB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.3933, allocations: 159.4 kB / 0.5181 GB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.3934, allocations: 19.45 kB / 0.5182 GB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3934, allocations: 42.31 kB / 0.5182 GB, free: 9.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/0.3934, allocations: 0 / 0.5182 GB, free: 9.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.00067/0.3941, allocations: 422 kB / 0.5186 GB, free: 8.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.3941, allocations: 138.4 kB / 0.5187 GB, free: 8.824 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3943, allocations: 166.9 kB / 0.5189 GB, free: 8.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3943, allocations: 29.39 kB / 0.5189 GB, free: 8.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.3943, allocations: 100.2 kB / 0.519 GB, free: 8.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.3944, allocations: 53.27 kB / 0.5191 GB, free: 8.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.3944, allocations: 6.688 kB / 0.5191 GB, free: 8.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.3945, allocations: 337.1 kB / 0.5194 GB, free: 8.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3946, allocations: 73.52 kB / 0.5195 GB, free: 8.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.3948, allocations: 322.9 kB / 0.5198 GB, free: 7.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.3952, allocations: 425.1 kB / 0.5202 GB, free: 7.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3952, allocations: 0 / 0.5202 GB, free: 7.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004872/0.3957, allocations: 412.6 kB / 0.5206 GB, free: 6.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.3957, allocations: 12.92 kB / 0.5206 GB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3957, allocations: 8 kB / 0.5206 GB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.3958, allocations: 15.94 kB / 0.5206 GB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.396, allocations: 82.22 kB / 0.5207 GB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.396, allocations: 19.92 kB / 0.5207 GB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3962, allocations: 28.22 kB / 0.5207 GB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3962, allocations: 31.19 kB / 0.5208 GB, free: 6.719 MB / 330.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.000128/0.3963, allocations: 182.2 kB / 0.5209 GB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003817/0.3967, allocations: 296.1 kB / 0.5212 GB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.3968, allocations: 34.95 kB / 0.5212 GB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3968, allocations: 4 kB / 0.5212 GB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3968, allocations: 4 kB / 0.5213 GB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3968, allocations: 0 / 0.5213 GB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.397, allocations: 252.7 kB / 0.5215 GB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.397, allocations: 4 kB / 0.5215 GB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.3972, allocations: 63.16 kB / 0.5216 GB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3972, allocations: 4 kB / 0.5216 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.3973, allocations: 7.859 kB / 0.5216 GB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3973, allocations: 4 kB / 0.5216 GB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3973, allocations: 0 / 0.5216 GB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.3977, allocations: 448.3 kB / 0.522 GB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.3978, allocations: 134.2 kB / 0.5221 GB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.3979, allocations: 14.06 kB / 0.5221 GB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.398, allocations: 14.86 kB / 0.5222 GB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3981, allocations: 4 kB / 0.5222 GB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3981, allocations: 11.98 kB / 0.5222 GB, free: 5.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.3982, allocations: 124.4 kB / 0.5223 GB, free: 5.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3982, allocations: 4 kB / 0.5223 GB, free: 5.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.3985, allocations: 53.44 kB / 0.5223 GB, free: 5.262 MB / 330.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.000123/0.3986, allocations: 118.2 kB / 0.5225 GB, free: 5.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.399, allocations: 287.7 kB / 0.5227 GB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3991, allocations: 4 kB / 0.5227 GB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.3991, allocations: 5.25 kB / 0.5227 GB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.3997, allocations: 213.6 kB / 0.5229 GB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.4006, allocations: 0.5882 MB / 0.5235 GB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.4007, allocations: 0.779 MB / 0.5243 GB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.4008, allocations: 30.27 kB / 0.5243 GB, free: 3.359 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.4009, allocations: 23.44 kB / 0.5243 GB, free: 3.34 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4009, allocations: 0 / 0.5243 GB, free: 3.34 MB / 330.7 MB Notification: Performance of Templates: time 0.004219/0.4051, allocations: 2.298 MB / 0.5266 GB, free: 1.066 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches