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.001096/0.001096, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002407/0.0002407, allocations: 4 kB / 307.7 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1348, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002313/0.1372, allocations: 1.476 MB / 360.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1385, allocations: 0.6507 MB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1387, allocations: 7.875 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1388, allocations: 11.92 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1391, allocations: 31.83 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1395, allocations: 127.7 kB / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1397, allocations: 155.5 kB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.1399, allocations: 29.53 kB / 361.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1401, allocations: 59.77 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.1404, allocations: 107.6 kB / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1404, allocations: 4 kB / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.1405, allocations: 12 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.1406, allocations: 55.81 kB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1407, allocations: 109.2 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.141, allocations: 207.4 kB / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.141, allocations: 4 kB / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.141, allocations: 0 / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.141, allocations: 0 / 362.3 MB, free: 10.23 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.000854/0.1419, allocations: 482.7 kB / 362.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1419, allocations: 8.031 kB / 362.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1421, allocations: 36.66 kB / 362.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1424, allocations: 243.8 kB / 363.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.1425, allocations: 16.38 kB / 363.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1425, allocations: 20.38 kB / 363.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1436, allocations: 0.6342 MB / 363.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.1436, allocations: 4 kB / 363.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1436, allocations: 4 kB / 363.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.1437, allocations: 12 kB / 363.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.1441, allocations: 187.8 kB / 363.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.1446, allocations: 374.2 kB / 364.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.1451, allocations: 251.5 kB / 364.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.1454, allocations: 162.6 kB / 364.7 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.1454, allocations: 12.14 kB / 364.7 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1455, allocations: 38.55 kB / 364.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.1455, allocations: 3.938 kB / 364.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.000907/0.1464, allocations: 429.6 kB / 365.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.1465, allocations: 130.8 kB / 365.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1467, allocations: 178.6 kB / 365.5 MB, free: 6.801 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-05/0.1468, allocations: 33.7 kB / 365.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.1468, allocations: 101.1 kB / 365.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.1469, allocations: 47.53 kB / 365.7 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.147, allocations: 37.7 kB / 365.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1472, allocations: 334.8 kB / 366 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1473, allocations: 76.83 kB / 366.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.1476, allocations: 334.7 kB / 366.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.1481, allocations: 424.8 kB / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1481, allocations: 0 / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005964/0.1487, allocations: 409.5 kB / 367.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1488, allocations: 12 kB / 367.2 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1488, allocations: 8 kB / 367.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.1488, allocations: 12 kB / 367.3 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.1491, allocations: 83.84 kB / 367.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.1491, allocations: 19.92 kB / 367.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1493, allocations: 35.75 kB / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1493, allocations: 24 kB / 367.4 MB, free: 4.578 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.0001981/0.1495, allocations: 182.6 kB / 367.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/0.15, allocations: 298.2 kB / 367.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.1501, allocations: 38.64 kB / 367.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1501, allocations: 8 kB / 367.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1501, allocations: 0 / 367.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.1501, allocations: 3.984 kB / 367.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.1504, allocations: 245.3 kB / 368.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1504, allocations: 0 / 368.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.1507, allocations: 67.91 kB / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.1507, allocations: 7.984 kB / 368.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.1507, allocations: 11.98 kB / 368.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1507, allocations: 0 / 368.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1507, allocations: 4 kB / 368.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1514, allocations: 447.9 kB / 368.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1515, allocations: 128.8 kB / 368.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.1516, allocations: 16 kB / 368.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1517, allocations: 11.98 kB / 368.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1518, allocations: 4 kB / 368.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.1518, allocations: 15.98 kB / 368.9 MB, free: 3.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.1519, allocations: 127.2 kB / 369 MB, free: 2.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1519, allocations: 0 / 369 MB, free: 2.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.1523, allocations: 55.91 kB / 369.1 MB, free: 2.836 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.0001788/0.1525, allocations: 121 kB / 369.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005597/0.153, allocations: 296.7 kB / 369.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.153, allocations: 0 / 369.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.1531, allocations: 11.94 kB / 369.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.1538, allocations: 216.4 kB / 369.7 MB, free: 2.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.1551, allocations: 0.6377 MB / 370.3 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.1556, allocations: 0.7764 MB / 371.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.1557, allocations: 22.3 kB / 371.1 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.1558, allocations: 35.36 kB / 371.2 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1558, allocations: 0 / 371.2 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of Templates: time 0.2403/0.3961, allocations: 2.387 MB / 373.5 MB, free: 18.33 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 -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","/var/lib/jenkins/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