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.001677/0.001677, allocations: 110.2 kB / 16.92 MB, free: 6.332 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.001691/0.00169, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.615/1.615, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 51.67 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1782, allocations: 49.43 MB / 350.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.005453/0.1837, allocations: 1.746 MB / 351.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.1862, allocations: 0.6194 MB / 352.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.1865, allocations: 3.938 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.1869, allocations: 23.8 kB / 352.6 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.1873, allocations: 31.77 kB / 352.6 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.188, allocations: 130.9 kB / 352.7 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1884, allocations: 155.6 kB / 352.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.1887, allocations: 29.55 kB / 352.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1889, allocations: 75.75 kB / 353 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.1893, allocations: 103.6 kB / 353.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.1893, allocations: 12 kB / 353.1 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.714e-05/0.1894, allocations: 12 kB / 353.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1896, allocations: 75.8 kB / 353.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.1897, allocations: 91.45 kB / 353.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.1901, allocations: 203.5 kB / 353.5 MB, free: 1.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1902, allocations: 0 / 353.5 MB, free: 1.035 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1902, allocations: 0 / 353.5 MB, free: 1.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1902, allocations: 4 kB / 353.5 MB, free: 1.031 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.00137/0.1916, allocations: 0.5064 MB / 354 MB, free: 488 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001161/0.1917, allocations: 8.031 kB / 354 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.1918, allocations: 58.72 kB / 354 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.1919, allocations: 24.66 kB / 354.1 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1923, allocations: 248.3 kB / 354.3 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.1924, allocations: 20.33 kB / 354.3 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.1924, allocations: 16.38 kB / 354.3 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1938, allocations: 0.634 MB / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1938, allocations: 0 / 355 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.1939, allocations: 4 kB / 355 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.1939, allocations: 11.94 kB / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.1944, allocations: 195.8 kB / 355.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.1953, allocations: 366.2 kB / 355.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.1959, allocations: 247.6 kB / 355.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.1962, allocations: 162.6 kB / 355.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.1963, allocations: 4 kB / 355.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/0.1964, allocations: 38.56 kB / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.1964, allocations: 0 / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.001069/0.1975, allocations: 421.6 kB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/0.1976, allocations: 138.8 kB / 356.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1978, allocations: 171.4 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1979, allocations: 33.7 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.198, allocations: 93.14 kB / 356.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.1981, allocations: 51.53 kB / 356.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1982, allocations: 78.12 kB / 356.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.1984, allocations: 338.9 kB / 357.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1986, allocations: 76.83 kB / 357.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.199, allocations: 322.7 kB / 357.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.1996, allocations: 408.9 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.1996, allocations: 4 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007273/0.2004, allocations: 405.6 kB / 358.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.2004, allocations: 11.98 kB / 358.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.2004, allocations: 8 kB / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.094e-05/0.2005, allocations: 12 kB / 358.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.2008, allocations: 87.72 kB / 358.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.789e-05/0.2008, allocations: 19.92 kB / 358.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.201, allocations: 31.75 kB / 358.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.201, allocations: 24 kB / 358.6 MB, free: 11.31 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.0002847/0.2013, allocations: 191.5 kB / 358.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/0.2019, allocations: 297.3 kB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.202, allocations: 38.64 kB / 359.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.202, allocations: 7.938 kB / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.202, allocations: 0 / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.202, allocations: 4 kB / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.2024, allocations: 245.3 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2024, allocations: 0 / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.2027, allocations: 63.91 kB / 359.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2027, allocations: 0 / 359.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.2027, allocations: 15.98 kB / 359.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.2027, allocations: 4 kB / 359.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2027, allocations: 0 / 359.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.2034, allocations: 431.3 kB / 359.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.2036, allocations: 136.7 kB / 360 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.2037, allocations: 20 kB / 360.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2039, allocations: 15.98 kB / 360.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2039, allocations: 3.938 kB / 360.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.204, allocations: 11.98 kB / 360.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2041, allocations: 132.5 kB / 360.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2041, allocations: 0 / 360.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.2045, allocations: 48 kB / 360.3 MB, free: 9.578 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.001452/0.206, allocations: 1.184 MB / 361.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.2066, allocations: 332.1 kB / 361.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.2067, allocations: 5.812 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.2067, allocations: 11.92 kB / 361.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.2074, allocations: 215.8 kB / 362 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.2118, allocations: 2.933 MB / 364.9 MB, free: 4.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.2125, allocations: 0.7838 MB / 365.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.193e-05/0.2126, allocations: 22.3 kB / 365.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2127, allocations: 71.34 kB / 365.8 MB, free: 3.641 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2127, allocations: 4 kB / 365.8 MB, free: 3.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2811/0.4938, allocations: 4.971 MB / 370.8 MB, free: 25.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.709, allocations: 2.047 kB / 370.8 MB, free: 25.34 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