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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 51.55 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003502/0.1456, allocations: 1.749 MB / 353.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1469, allocations: 0.6116 MB / 353.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1471, allocations: 7.938 kB / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.1474, allocations: 23.8 kB / 353.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1477, allocations: 43.7 kB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.1482, allocations: 122.6 kB / 354.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1484, allocations: 151.6 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1486, allocations: 37.48 kB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1487, allocations: 75.75 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.149, allocations: 107.6 kB / 354.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.149, allocations: 12 kB / 354.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.707e-05/0.1491, allocations: 12 kB / 354.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1492, allocations: 67.81 kB / 354.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1493, allocations: 87.45 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1495, allocations: 215.1 kB / 354.8 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1495, allocations: 7.984 kB / 354.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1496, allocations: 0 / 354.8 MB, free: 372 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1496, allocations: 0 / 354.8 MB, free: 372 kB / 286.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.00085/0.1504, allocations: 0.4909 MB / 355.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1505, allocations: 11.89 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.1505, allocations: 32.59 kB / 355.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1509, allocations: 256.2 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1509, allocations: 16.33 kB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1509, allocations: 20.38 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1519, allocations: 0.6342 MB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.152, allocations: 0 / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.152, allocations: 8 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.152, allocations: 11.98 kB / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.1524, allocations: 179.8 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1528, allocations: 374.2 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.1533, allocations: 243.6 kB / 357.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.1535, allocations: 162.6 kB / 357.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1536, allocations: 8.141 kB / 357.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1536, allocations: 42.55 kB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 3.907e-06/0.1536, allocations: 0 / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008183/0.1544, allocations: 421.5 kB / 357.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.1546, allocations: 134.8 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1547, allocations: 175.4 kB / 358 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1548, allocations: 29.7 kB / 358 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1548, allocations: 101.1 kB / 358.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.1549, allocations: 43.53 kB / 358.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.155, allocations: 74.14 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1551, allocations: 342.8 kB / 358.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1553, allocations: 72.81 kB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.1555, allocations: 326.7 kB / 359 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.156, allocations: 416.8 kB / 359.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.156, allocations: 8 kB / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005445/0.1565, allocations: 400.7 kB / 359.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1566, allocations: 13 kB / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.1566, allocations: 8 kB / 359.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.1566, allocations: 16 kB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.1569, allocations: 79.84 kB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.1569, allocations: 19.92 kB / 359.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1571, allocations: 31.75 kB / 359.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1571, allocations: 24 kB / 359.9 MB, free: 10.7 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.0001849/0.1573, allocations: 183.5 kB / 360.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/0.1578, allocations: 301.2 kB / 360.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.1578, allocations: 38.66 kB / 360.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1579, allocations: 4 kB / 360.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1579, allocations: 4 kB / 360.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1579, allocations: 3.984 kB / 360.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.1581, allocations: 245.3 kB / 360.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1582, allocations: 0 / 360.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1584, allocations: 63.89 kB / 360.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1584, allocations: 4 kB / 360.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.1584, allocations: 15.94 kB / 360.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1584, allocations: 0 / 360.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1585, allocations: 0 / 360.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.159, allocations: 443.6 kB / 361.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.1592, allocations: 124.8 kB / 361.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.1592, allocations: 19.98 kB / 361.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1594, allocations: 12 kB / 361.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1594, allocations: 3.984 kB / 361.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.1595, allocations: 16 kB / 361.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1596, allocations: 132.5 kB / 361.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1596, allocations: 0 / 361.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.16, allocations: 48 kB / 361.6 MB, free: 8.973 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.0001597/0.1601, allocations: 119.9 kB / 361.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.1606, allocations: 293.7 kB / 362 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1606, allocations: 0 / 362 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.1607, allocations: 11.94 kB / 362 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.1613, allocations: 224.1 kB / 362.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1625, allocations: 0.5384 MB / 362.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1629, allocations: 0.7761 MB / 363.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.163, allocations: 22.3 kB / 363.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.163, allocations: 31.42 kB / 363.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.163, allocations: 0 / 363.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of Templates: time 0.006203/0.1693, allocations: 2.608 MB / 366.2 MB, free: 4.293 MB / 302.1 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 -s cvode -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/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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches