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.001192/0.001192, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001275/0.001275, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.459/1.459, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 51.17 kB / 300.6 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 49.44 MB / 350.1 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.00356/0.1436, allocations: 1.738 MB / 351.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1447, allocations: 0.6194 MB / 352.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.1448, allocations: 7.938 kB / 352.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.145, allocations: 15.8 kB / 352.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1452, allocations: 51.7 kB / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1455, allocations: 119.7 kB / 352.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1457, allocations: 147.7 kB / 352.7 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1459, allocations: 33.55 kB / 352.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.146, allocations: 75.69 kB / 352.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.1462, allocations: 107.6 kB / 353 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.1463, allocations: 12 kB / 353 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.089e-05/0.1463, allocations: 16 kB / 353 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1464, allocations: 67.8 kB / 353.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.1465, allocations: 83.47 kB / 353.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1468, allocations: 207.5 kB / 353.3 MB, free: 1.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1468, allocations: 3.938 kB / 353.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1468, allocations: 4 kB / 353.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1468, allocations: 0 / 353.3 MB, free: 1.105 MB / 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.000833/0.1477, allocations: 0.5011 MB / 353.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1477, allocations: 15.89 kB / 353.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.1478, allocations: 24.66 kB / 353.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1481, allocations: 248.3 kB / 354.1 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.1481, allocations: 20.33 kB / 354.1 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1482, allocations: 24.36 kB / 354.2 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1492, allocations: 0.6303 MB / 354.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1492, allocations: 3.938 kB / 354.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1493, allocations: 8 kB / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.1493, allocations: 11.98 kB / 354.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.1497, allocations: 179.8 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.1502, allocations: 374.2 kB / 355.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.1506, allocations: 243.7 kB / 355.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1509, allocations: 154.6 kB / 355.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.1509, allocations: 16.14 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1509, allocations: 38.5 kB / 355.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.1509, allocations: 0 / 355.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008267/0.1518, allocations: 421.9 kB / 356.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.1519, allocations: 130.7 kB / 356.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1521, allocations: 175.4 kB / 356.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1521, allocations: 33.83 kB / 356.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.1522, allocations: 101.1 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1522, allocations: 47.52 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.1523, allocations: 70.14 kB / 356.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1524, allocations: 338.8 kB / 357.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1526, allocations: 72.81 kB / 357.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.1529, allocations: 330.7 kB / 357.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.1533, allocations: 416.8 kB / 357.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1533, allocations: 4 kB / 357.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005433/0.1539, allocations: 405 kB / 358.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1539, allocations: 12 kB / 358.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1539, allocations: 8 kB / 358.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.154, allocations: 12 kB / 358.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1542, allocations: 84.48 kB / 358.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.1542, allocations: 15.94 kB / 358.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1544, allocations: 35.69 kB / 358.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1544, allocations: 28 kB / 358.5 MB, free: 11.45 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.0001822/0.1546, allocations: 191.4 kB / 358.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/0.1551, allocations: 297.2 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.1552, allocations: 38.59 kB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1552, allocations: 4 kB / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1552, allocations: 0 / 359 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1552, allocations: 7.984 kB / 359 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.1555, allocations: 245.3 kB / 359.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1555, allocations: 0 / 359.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.1558, allocations: 63.89 kB / 359.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1558, allocations: 4 kB / 359.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1558, allocations: 12 kB / 359.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1558, allocations: 0 / 359.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1558, allocations: 3.984 kB / 359.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.1564, allocations: 439.3 kB / 359.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1565, allocations: 124.8 kB / 359.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.1566, allocations: 19.98 kB / 359.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.1567, allocations: 12 kB / 359.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.1568, allocations: 3.984 kB / 359.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.1568, allocations: 12 kB / 359.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1569, allocations: 132.5 kB / 360.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1569, allocations: 4 kB / 360.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.1573, allocations: 48 kB / 360.1 MB, free: 9.715 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.0001774/0.1575, allocations: 111.9 kB / 360.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.1581, allocations: 340.6 kB / 360.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1581, allocations: 0 / 360.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.1582, allocations: 15.92 kB / 360.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.1589, allocations: 220.9 kB / 360.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1602, allocations: 0.5421 MB / 361.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1605, allocations: 0.7761 MB / 362.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.1606, allocations: 26.28 kB / 362.1 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.1607, allocations: 27.44 kB / 362.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1607, allocations: 3.938 kB / 362.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of Templates: time 0.006183/0.1669, allocations: 2.606 MB / 364.8 MB, free: 4.996 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 -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","/var/lib/jenkins/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