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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 62.66 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.00357/0.1533, allocations: 1.762 MB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1546, allocations: 0.67 MB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1548, allocations: 11.88 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.155, allocations: 23.73 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1552, allocations: 39.72 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.1557, allocations: 139.6 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1559, allocations: 155.6 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.156, allocations: 33.53 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1562, allocations: 79.69 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.1565, allocations: 103.6 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.1565, allocations: 16 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-05/0.1566, allocations: 19.98 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.1567, allocations: 63.81 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1568, allocations: 87.47 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.1571, allocations: 219.2 kB / 362.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1572, allocations: 7.938 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1572, allocations: 0 / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1572, allocations: 0 / 362.3 MB, free: 9.914 MB / 302.1 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.0009114/0.1581, allocations: 0.5103 MB / 362.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1581, allocations: 8.031 kB / 362.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.1583, allocations: 36.62 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.1587, allocations: 263.8 kB / 363.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.1588, allocations: 16.38 kB / 363.1 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.1588, allocations: 16.38 kB / 363.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.1599, allocations: 0.6379 MB / 363.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1599, allocations: 0 / 363.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.16, allocations: 4 kB / 363.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.16, allocations: 16 kB / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.1604, allocations: 183.8 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.1609, allocations: 370.3 kB / 364.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.1613, allocations: 247.2 kB / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.1616, allocations: 158.5 kB / 364.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.1617, allocations: 8 kB / 364.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1617, allocations: 42.55 kB / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.1617, allocations: 0 / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008656/0.1626, allocations: 421.7 kB / 365.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.1627, allocations: 138.8 kB / 365.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1629, allocations: 174.1 kB / 365.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.163, allocations: 33.83 kB / 365.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.163, allocations: 101.1 kB / 365.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.1631, allocations: 51.53 kB / 365.7 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.1632, allocations: 73.98 kB / 365.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1633, allocations: 334.8 kB / 366.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1635, allocations: 76.83 kB / 366.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.1638, allocations: 326.7 kB / 366.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.1643, allocations: 420.8 kB / 366.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1643, allocations: 0 / 366.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005859/0.1649, allocations: 409 kB / 367.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1649, allocations: 8 kB / 367.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1649, allocations: 8 kB / 367.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.1649, allocations: 15.94 kB / 367.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.1652, allocations: 84.47 kB / 367.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.1652, allocations: 15.92 kB / 367.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1654, allocations: 35.84 kB / 367.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.1654, allocations: 24 kB / 367.5 MB, free: 4.203 MB / 302.1 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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.1656, allocations: 184 kB / 367.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.1661, allocations: 293.2 kB / 368 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.644e-05/0.1662, allocations: 38.64 kB / 368 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1662, allocations: 4 kB / 368 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1663, allocations: 0 / 368 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1663, allocations: 11.98 kB / 368 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.1665, allocations: 241.3 kB / 368.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1665, allocations: 0 / 368.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.1668, allocations: 67.89 kB / 368.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1668, allocations: 0 / 368.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.1668, allocations: 12 kB / 368.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1668, allocations: 4 kB / 368.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1668, allocations: 0 / 368.3 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.1675, allocations: 444.9 kB / 368.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.1676, allocations: 132.7 kB / 368.9 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.1677, allocations: 19.98 kB / 368.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1678, allocations: 8 kB / 368.9 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1679, allocations: 8 kB / 368.9 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1679, allocations: 15.92 kB / 368.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.168, allocations: 136.3 kB / 369.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.168, allocations: 4 kB / 369.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.1684, allocations: 44 kB / 369.1 MB, free: 2.469 MB / 302.1 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 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (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,superSampleIpo.ticks,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001797/0.1686, allocations: 117.8 kB / 369.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.1692, allocations: 292.7 kB / 369.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1692, allocations: 0 / 369.5 MB, free: 2.062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.1692, allocations: 8 kB / 369.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.1699, allocations: 218.6 kB / 369.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1712, allocations: 0.5548 MB / 370.3 MB, free: 1.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.1717, allocations: 0.78 MB / 371.1 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.1717, allocations: 22.3 kB / 371.1 MB, free: 440 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.1718, allocations: 27.42 kB / 371.1 MB, free: 416 kB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1718, allocations: 0 / 371.1 MB, free: 416 kB / 302.1 MB Notification: Performance of Templates: time 0.2151/0.3869, allocations: 2.59 MB / 373.7 MB, free: 19.52 MB / 302.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches