Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009297, allocations: 90.98 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004316, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3255, allocations: 50.42 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.4287, allocations: 78.32 MB / 479.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.429, allocations: 83.95 kB / 479.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.4455, allocations: 5.607 MB / 485.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4455, allocations: 0 / 485.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.4456, allocations: 12 kB / 485.5 MB, free: 12.48 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.0008079/0.4464, allocations: 486.5 kB / 486 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.4465, allocations: 8.031 kB / 486 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.4465, allocations: 27.62 kB / 486 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.4469, allocations: 238.7 kB / 486.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.447, allocations: 19.92 kB / 486.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.447, allocations: 20 kB / 486.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.4482, allocations: 0.6222 MB / 486.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4483, allocations: 7.984 kB / 486.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.4483, allocations: 7.984 kB / 486.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.4483, allocations: 19.94 kB / 487 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.4487, allocations: 187.8 kB / 487.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.4493, allocations: 370.4 kB / 487.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.4497, allocations: 247.5 kB / 487.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.4498, allocations: 4.062 kB / 487.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4498, allocations: 42.62 kB / 487.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/0.4498, allocations: 0 / 487.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.0009398/0.4508, allocations: 431.3 kB / 488.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.451, allocations: 139 kB / 488.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.4512, allocations: 157.5 kB / 488.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.4513, allocations: 29.7 kB / 488.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4514, allocations: 97.12 kB / 488.6 MB, free: 9.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.4514, allocations: 47.73 kB / 488.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.4515, allocations: 12 kB / 488.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.4517, allocations: 330.8 kB / 489 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4519, allocations: 76.83 kB / 489.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.4523, allocations: 322.7 kB / 489.4 MB, free: 8.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.4525, allocations: 139.8 kB / 489.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4525, allocations: 0 / 489.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005845/0.4531, allocations: 409.6 kB / 489.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4531, allocations: 11.95 kB / 489.9 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4532, allocations: 8 kB / 490 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.4532, allocations: 16.03 kB / 490 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.4534, allocations: 87.78 kB / 490.1 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.4535, allocations: 15.98 kB / 490.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.4536, allocations: 35.72 kB / 490.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.4537, allocations: 24 kB / 490.1 MB, free: 7.477 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.0001842/0.4539, allocations: 176.1 kB / 490.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/0.4543, allocations: 285.3 kB / 490.6 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.117e-05/0.4544, allocations: 46.53 kB / 490.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4544, allocations: 4 kB / 490.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4545, allocations: 4 kB / 490.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4545, allocations: 7.922 kB / 490.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.4547, allocations: 241.4 kB / 490.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4547, allocations: 0 / 490.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.455, allocations: 67.89 kB / 490.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.455, allocations: 4 kB / 490.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.4551, allocations: 4 kB / 491 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4551, allocations: 11.95 kB / 491 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4551, allocations: 4 kB / 491 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.4557, allocations: 456.4 kB / 491.4 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.4559, allocations: 136.7 kB / 491.5 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.4559, allocations: 23.92 kB / 491.6 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4561, allocations: 12 kB / 491.6 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.4561, allocations: 4 kB / 491.6 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.4562, allocations: 15.92 kB / 491.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4563, allocations: 131.2 kB / 491.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4563, allocations: 0 / 491.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003601/0.4566, allocations: 51.94 kB / 491.8 MB, free: 5.711 MB / 362.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.0001777/0.4568, allocations: 123.2 kB / 491.9 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.4573, allocations: 293.5 kB / 492.2 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4574, allocations: 4 kB / 492.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.4574, allocations: 4 kB / 492.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.458, allocations: 202.7 kB / 492.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4591, allocations: 0.587 MB / 493 MB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.4596, allocations: 0.7842 MB / 493.8 MB, free: 3.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.4597, allocations: 22.3 kB / 493.8 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.4598, allocations: 27.42 kB / 493.8 MB, free: 3.617 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4598, allocations: 0 / 493.8 MB, free: 3.617 MB / 362.7 MB Notification: Performance of Templates: time 0.005359/0.4651, allocations: 2.298 MB / 496.1 MB, free: 1.328 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches