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.001635/0.001635, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001624, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.699/1.699, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002642, allocations: 60.06 kB / 307 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1428, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003554/0.1464, allocations: 1.758 MB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1478, allocations: 0.6777 MB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1479, allocations: 11.94 kB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1481, allocations: 19.8 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1483, allocations: 39.72 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.1488, allocations: 139.6 kB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.149, allocations: 151.6 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1492, allocations: 37.53 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1494, allocations: 75.69 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.1497, allocations: 115.6 kB / 360.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.1497, allocations: 12 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.966e-05/0.1498, allocations: 16 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1499, allocations: 59.83 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.15, allocations: 103.4 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1503, allocations: 203.5 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1503, allocations: 4 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1503, allocations: 0 / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1504, allocations: 0 / 360.9 MB, free: 10.64 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.0009435/0.1513, allocations: 0.5102 MB / 361.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1514, allocations: 12.03 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.1516, allocations: 32.64 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1519, allocations: 251.8 kB / 361.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.152, allocations: 12.38 kB / 361.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.152, allocations: 12.38 kB / 361.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.1532, allocations: 0.638 MB / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1532, allocations: 0 / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1532, allocations: 4 kB / 362.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.1533, allocations: 19.98 kB / 362.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.1537, allocations: 183.8 kB / 362.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.1542, allocations: 370.2 kB / 363 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.1547, allocations: 243.7 kB / 363.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.155, allocations: 162.5 kB / 363.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.155, allocations: 4 kB / 363.4 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.1551, allocations: 42.56 kB / 363.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.542e-06/0.1551, allocations: 0 / 363.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009363/0.156, allocations: 429.8 kB / 363.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.1562, allocations: 138.8 kB / 364 MB, free: 7.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1564, allocations: 178 kB / 364.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1564, allocations: 33.69 kB / 364.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.1565, allocations: 97.14 kB / 364.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.1566, allocations: 51.53 kB / 364.3 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.1567, allocations: 74.03 kB / 364.4 MB, free: 6.914 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1569, allocations: 330.8 kB / 364.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.157, allocations: 80.81 kB / 364.8 MB, free: 6.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.1573, allocations: 318.7 kB / 365.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/0.1579, allocations: 420.9 kB / 365.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1579, allocations: 0 / 365.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006305/0.1585, allocations: 405.5 kB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1585, allocations: 8 kB / 365.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1586, allocations: 12.12 kB / 365.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.1586, allocations: 15.94 kB / 365.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.1589, allocations: 87.83 kB / 366 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.1589, allocations: 11.94 kB / 366 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1591, allocations: 31.84 kB / 366.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.1591, allocations: 23.98 kB / 366.1 MB, free: 4.949 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.000208/0.1593, allocations: 188 kB / 366.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.1598, allocations: 297.2 kB / 366.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.1599, allocations: 38.59 kB / 366.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1599, allocations: 7.984 kB / 366.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1599, allocations: 0 / 366.6 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.16, allocations: 4 kB / 366.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.1603, allocations: 249.3 kB / 366.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1603, allocations: 0 / 366.9 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1605, allocations: 63.91 kB / 366.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1606, allocations: 0 / 366.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.1606, allocations: 11.98 kB / 366.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1606, allocations: 4 kB / 366.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1606, allocations: 4 kB / 366.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.1613, allocations: 440.5 kB / 367.4 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1614, allocations: 128.7 kB / 367.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1615, allocations: 19.98 kB / 367.5 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1616, allocations: 11.98 kB / 367.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1616, allocations: 8 kB / 367.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1617, allocations: 12 kB / 367.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1618, allocations: 132.3 kB / 367.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1618, allocations: 0 / 367.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.1622, allocations: 48 kB / 367.7 MB, free: 3.215 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.0001586/0.1623, allocations: 121.8 kB / 367.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006208/0.163, allocations: 337.3 kB / 368.2 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.163, allocations: 3.938 kB / 368.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.163, allocations: 8.5 kB / 368.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.1637, allocations: 220.3 kB / 368.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1651, allocations: 0.5535 MB / 369 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1655, allocations: 0.7839 MB / 369.7 MB, free: 1.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.1656, allocations: 18.3 kB / 369.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.1656, allocations: 27.42 kB / 369.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1656, allocations: 0 / 369.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of Templates: time 0.1786/0.3442, allocations: 2.593 MB / 372.4 MB, free: 19.57 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.1.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