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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 90.58 kB / 16.65 MB, free: 6.535 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.001498/0.001499, allocations: 173.2 kB / 17.56 MB, free: 6.184 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.672/1.672, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003245, allocations: 7.984 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 50.41 MB / 351.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002931/0.1615, allocations: 1.459 MB / 353.4 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1629, allocations: 0.5883 MB / 354 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.163, allocations: 7.938 kB / 354 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.1633, allocations: 11.92 kB / 354 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1636, allocations: 39.77 kB / 354 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1641, allocations: 112.3 kB / 354.2 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1643, allocations: 151.6 kB / 354.3 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1645, allocations: 29.5 kB / 354.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1646, allocations: 59.81 kB / 354.4 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1649, allocations: 99.58 kB / 354.5 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.165, allocations: 8 kB / 354.5 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.464e-05/0.165, allocations: 4 kB / 354.5 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1651, allocations: 59.81 kB / 354.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1653, allocations: 113.2 kB / 354.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.1656, allocations: 187.5 kB / 354.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1656, allocations: 0 / 354.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1656, allocations: 4 kB / 354.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1656, allocations: 0 / 354.9 MB, free: 0.6641 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.001073/0.1667, allocations: 482.6 kB / 355.3 MB, free: 148 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.495e-05/0.1668, allocations: 12.02 kB / 355.3 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.988e-05/0.1669, allocations: 58.72 kB / 355.4 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.167, allocations: 24.66 kB / 355.4 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.1674, allocations: 239.9 kB / 355.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1675, allocations: 16.33 kB / 355.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.1675, allocations: 20.36 kB / 355.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.1689, allocations: 0.6341 MB / 356.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1689, allocations: 7.875 kB / 356.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.1689, allocations: 8 kB / 356.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.169, allocations: 11.98 kB / 356.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.1694, allocations: 187.9 kB / 356.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.1701, allocations: 370.2 kB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.1706, allocations: 251.7 kB / 357.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.171, allocations: 162.6 kB / 357.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.171, allocations: 8.141 kB / 357.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.1711, allocations: 42.55 kB / 357.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.1711, allocations: 4 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.001038/0.1721, allocations: 426.4 kB / 357.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.1723, allocations: 135 kB / 357.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1725, allocations: 170.3 kB / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.1726, allocations: 37.83 kB / 358.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.1727, allocations: 101.1 kB / 358.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.1728, allocations: 43.53 kB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.1728, allocations: 37.7 kB / 358.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1731, allocations: 342.8 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.1732, allocations: 72.83 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.1736, allocations: 322.7 kB / 359 MB, free: 12.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.1742, allocations: 428.8 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1742, allocations: 4 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006641/0.1749, allocations: 409.6 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.1749, allocations: 8 kB / 359.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.175, allocations: 12.09 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.175, allocations: 16 kB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1753, allocations: 83.84 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.1753, allocations: 19.92 kB / 360 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.1755, allocations: 35.78 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.1756, allocations: 24 kB / 360 MB, free: 10.96 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.0002301/0.1758, allocations: 183.2 kB / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/0.1763, allocations: 310.2 kB / 360.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1764, allocations: 34.64 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.1765, allocations: 4 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1765, allocations: 0 / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1765, allocations: 4 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.1768, allocations: 249.3 kB / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1768, allocations: 0 / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.1771, allocations: 63.91 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1771, allocations: 4 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1771, allocations: 7.984 kB / 360.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1771, allocations: 8 kB / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1771, allocations: 0 / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.1778, allocations: 443.6 kB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.178, allocations: 128.7 kB / 361.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.1781, allocations: 20 kB / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1782, allocations: 15.98 kB / 361.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1783, allocations: 0 / 361.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.1783, allocations: 15.98 kB / 361.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1784, allocations: 127.5 kB / 361.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1784, allocations: 0 / 361.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1788, allocations: 52 kB / 361.7 MB, free: 9.227 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.001564/0.1804, allocations: 1.187 MB / 362.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.1811, allocations: 293.3 kB / 363.1 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1811, allocations: 0.625 kB / 363.1 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.1811, allocations: 16 kB / 363.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.1819, allocations: 212.8 kB / 363.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.1866, allocations: 3.038 MB / 366.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/0.1873, allocations: 0.7842 MB / 367.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1875, allocations: 22.28 kB / 367.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.1877, allocations: 71.41 kB / 367.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1877, allocations: 0 / 367.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.274/0.4618, allocations: 4.574 MB / 371.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.462, allocations: 214.5 kB / 372.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.651, allocations: 1.188 kB / 372.1 MB, free: 23.29 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > 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