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.001294/0.001294, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007577/0.0007578, allocations: 95.05 kB / 286.7 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.332e-05/1.363e-05, allocations: 4 kB / 343.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09366, allocations: 51.48 MB / 395.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5185, allocations: 78.4 MB / 473.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5188, allocations: 78.02 kB / 473.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01871/0.5375, allocations: 5.662 MB / 479.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5375, allocations: 0 / 479.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.5376, allocations: 8 kB / 479.3 MB, free: 10.16 MB / 346.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.0004904/0.5381, allocations: 463.3 kB / 479.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5381, allocations: 8.031 kB / 479.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.5383, allocations: 39.7 kB / 479.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.5385, allocations: 254.2 kB / 480.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.5385, allocations: 8 kB / 480.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.5386, allocations: 8 kB / 480.1 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002587/0.5388, allocations: 184.3 kB / 480.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.5395, allocations: 0.5571 MB / 480.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5395, allocations: 0 / 480.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.5396, allocations: 0 / 480.8 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.5396, allocations: 15.98 kB / 480.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.5399, allocations: 334.5 kB / 481.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.5402, allocations: 216 kB / 481.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.5403, allocations: 135 kB / 481.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.5404, allocations: 7.984 kB / 481.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.5404, allocations: 38.5 kB / 481.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 2.224e-06/0.5404, allocations: 7.984 kB / 481.6 MB, free: 8.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003891/0.5408, allocations: 260.5 kB / 481.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.5409, allocations: 130.9 kB / 481.9 MB, free: 7.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.541, allocations: 145.8 kB / 482.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.541, allocations: 25.7 kB / 482.1 MB, free: 7.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.541, allocations: 99.39 kB / 482.2 MB, free: 7.469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.5411, allocations: 46.33 kB / 482.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.5411, allocations: 0 / 482.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.5412, allocations: 336.2 kB / 482.6 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.5412, allocations: 56.05 kB / 482.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.5414, allocations: 305.4 kB / 482.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.5415, allocations: 122.6 kB / 483 MB, free: 6.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5415, allocations: 0 / 483 MB, free: 6.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003587/0.5419, allocations: 335.5 kB / 483.4 MB, free: 6.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5419, allocations: 16.23 kB / 483.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5419, allocations: 8 kB / 483.4 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.542, allocations: 16 kB / 483.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.5422, allocations: 83.34 kB / 483.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.5422, allocations: 17.02 kB / 483.5 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5423, allocations: 27.75 kB / 483.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.5424, allocations: 23.5 kB / 483.6 MB, free: 6.109 MB / 346.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 () * 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 7.376e-05/0.5425, allocations: 132.1 kB / 483.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.5428, allocations: 266.1 kB / 483.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.365e-05/0.5428, allocations: 32.08 kB / 484 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5428, allocations: 4 kB / 484 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5428, allocations: 0 / 484 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5429, allocations: 4 kB / 484 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.543, allocations: 195.4 kB / 484.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.543, allocations: 4 kB / 484.2 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.5433, allocations: 62.84 kB / 484.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5433, allocations: 3.953 kB / 484.2 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.5433, allocations: 14.86 kB / 484.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.5433, allocations: 8 kB / 484.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5433, allocations: 0.9375 kB / 484.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.5437, allocations: 415.8 kB / 484.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.5438, allocations: 133.7 kB / 484.8 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.5438, allocations: 15.17 kB / 484.8 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.544, allocations: 11.98 kB / 484.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.544, allocations: 0 / 484.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.544, allocations: 11.19 kB / 484.8 MB, free: 4.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.5441, allocations: 124.2 kB / 485 MB, free: 4.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5441, allocations: 0 / 485 MB, free: 4.789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.5445, allocations: 39.94 kB / 485 MB, free: 4.75 MB / 346.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 () * 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.0001332/0.5446, allocations: 111 kB / 485.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.5449, allocations: 238.3 kB / 485.3 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5449, allocations: 0 / 485.3 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.5449, allocations: 4 kB / 485.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.5454, allocations: 183.3 kB / 485.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.5461, allocations: 378 kB / 485.9 MB, free: 3.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.5463, allocations: 0.7873 MB / 486.7 MB, free: 3.164 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.5464, allocations: 26.06 kB / 486.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.5465, allocations: 26.81 kB / 486.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5465, allocations: 0 / 486.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of Templates: time 0.004168/0.5507, allocations: 2.23 MB / 489 MB, free: 0.9297 MB / 346.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