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.001575/0.001575, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001619/0.001619, allocations: 191 kB / 18.63 MB, free: 4.375 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.471/1.471, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001044, allocations: 47.06 kB / 302.1 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1346, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004443/0.1392, allocations: 1.756 MB / 353.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1405, allocations: 0.6077 MB / 353.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1406, allocations: 11.94 kB / 353.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.1408, allocations: 15.8 kB / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1411, allocations: 43.72 kB / 353.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.1415, allocations: 119.7 kB / 354.1 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1418, allocations: 155.6 kB / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1419, allocations: 33.53 kB / 354.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.1421, allocations: 75.7 kB / 354.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1423, allocations: 103.6 kB / 354.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.1424, allocations: 16 kB / 354.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.1424, allocations: 12 kB / 354.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1425, allocations: 67.81 kB / 354.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1426, allocations: 91.45 kB / 354.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1429, allocations: 211.2 kB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.143, allocations: 0 / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.143, allocations: 0 / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.143, allocations: 3.938 kB / 354.8 MB, free: 404 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.001153/0.1441, allocations: 0.4986 MB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.1442, allocations: 19.88 kB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.1443, allocations: 28.66 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.1447, allocations: 248.3 kB / 355.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.1447, allocations: 28.3 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.1448, allocations: 12.38 kB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.146, allocations: 0.6304 MB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.146, allocations: 0 / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.146, allocations: 7.938 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.1461, allocations: 19.92 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.1465, allocations: 183.8 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.147, allocations: 374.2 kB / 356.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.1475, allocations: 239.6 kB / 357.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.1479, allocations: 162.6 kB / 357.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.1479, allocations: 4 kB / 357.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.148, allocations: 38.56 kB / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.954e-06/0.148, allocations: 0 / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.000957/0.1489, allocations: 425.8 kB / 357.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.1491, allocations: 135 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1493, allocations: 167.4 kB / 358 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.1494, allocations: 33.7 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.1495, allocations: 101.1 kB / 358.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.1495, allocations: 47.53 kB / 358.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1497, allocations: 74.08 kB / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1498, allocations: 342.8 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.15, allocations: 76.81 kB / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.1504, allocations: 326.7 kB / 359 MB, free: 11.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.1509, allocations: 412.8 kB / 359.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.1509, allocations: 4 kB / 359.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000654/0.1516, allocations: 401.4 kB / 359.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1517, allocations: 12.25 kB / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.1517, allocations: 12 kB / 359.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.259e-05/0.1517, allocations: 12 kB / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.1521, allocations: 87.83 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/0.1521, allocations: 19.92 kB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.1523, allocations: 35.69 kB / 359.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.1523, allocations: 24 kB / 360 MB, free: 10.72 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.0002555/0.1526, allocations: 191.5 kB / 360.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007304/0.1533, allocations: 297.2 kB / 360.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1534, allocations: 34.66 kB / 360.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1535, allocations: 8 kB / 360.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.1535, allocations: 0 / 360.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.1535, allocations: 3.984 kB / 360.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1538, allocations: 241.3 kB / 360.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1538, allocations: 0 / 360.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.1541, allocations: 67.89 kB / 360.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.1541, allocations: 4 kB / 360.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1542, allocations: 4 kB / 360.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1542, allocations: 8 kB / 360.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.1542, allocations: 3.984 kB / 360.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.1549, allocations: 439.6 kB / 361.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.1551, allocations: 120.8 kB / 361.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.1551, allocations: 19.98 kB / 361.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1553, allocations: 19.98 kB / 361.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.1554, allocations: 0 / 361.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.1554, allocations: 12 kB / 361.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1555, allocations: 132.5 kB / 361.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1556, allocations: 0 / 361.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000432/0.156, allocations: 48 kB / 361.6 MB, free: 8.996 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.0002129/0.1562, allocations: 119.9 kB / 361.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.1568, allocations: 297.2 kB / 362 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1568, allocations: 0.6875 kB / 362 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.1568, allocations: 11.98 kB / 362 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.1576, allocations: 223.6 kB / 362.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.1591, allocations: 0.5382 MB / 362.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.1597, allocations: 0.7762 MB / 363.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.1598, allocations: 18.3 kB / 363.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.1598, allocations: 31.42 kB / 363.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of SimCode: time 2.505e-06/0.1599, allocations: 0 / 363.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of Templates: time 0.007034/0.1669, allocations: 2.61 MB / 366.2 MB, free: 4.316 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 gbode -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