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.001742/0.001742, allocations: 114.2 kB / 17.07 MB, free: 5.969 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.001994/0.001994, allocations: 198.9 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.139/2.139, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5724/0.5745, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.006647/0.5812, allocations: 1.755 MB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.5834, allocations: 0.6116 MB / 402.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.5838, allocations: 7.938 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.5842, allocations: 15.8 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.5847, allocations: 47.77 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.5855, allocations: 122.8 kB / 402.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.5859, allocations: 151.6 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.5862, allocations: 37.47 kB / 403 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.5865, allocations: 71.75 kB / 403.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.5869, allocations: 107.6 kB / 403.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/0.587, allocations: 16 kB / 403.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.587, allocations: 12 kB / 403.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.5872, allocations: 71.81 kB / 403.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.5874, allocations: 87.45 kB / 403.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.5879, allocations: 216.9 kB / 403.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.5879, allocations: 0 / 403.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5879, allocations: 4 kB / 403.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.5879, allocations: 0 / 403.6 MB, free: 5.492 MB / 318.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.001547/0.5895, allocations: 0.4947 MB / 404 MB, free: 4.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.374e-05/0.5896, allocations: 12.03 kB / 404.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.5897, allocations: 50.73 kB / 404.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.5899, allocations: 28.64 kB / 404.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.5904, allocations: 255.9 kB / 404.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.5905, allocations: 12.38 kB / 404.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.5905, allocations: 20.38 kB / 404.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.5924, allocations: 0.6418 MB / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5925, allocations: 0 / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.5925, allocations: 4 kB / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.5926, allocations: 15.98 kB / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.5932, allocations: 183.8 kB / 405.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.594, allocations: 370.2 kB / 405.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.5948, allocations: 239.7 kB / 405.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.5952, allocations: 162.5 kB / 406 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.5953, allocations: 12.44 kB / 406 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.5954, allocations: 38.56 kB / 406.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.374e-06/0.5954, allocations: 3.938 kB / 406.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.001405/0.5968, allocations: 421.3 kB / 406.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.597, allocations: 139.8 kB / 406.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.5973, allocations: 170.4 kB / 406.8 MB, free: 2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.5973, allocations: 29.7 kB / 406.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.5974, allocations: 101.1 kB / 406.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/0.5975, allocations: 47.53 kB / 407 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.5977, allocations: 74.05 kB / 407 MB, free: 1.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.5979, allocations: 338.8 kB / 407.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.5982, allocations: 76.81 kB / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.5987, allocations: 322.7 kB / 407.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.5994, allocations: 416.9 kB / 408.2 MB, free: 368 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.5995, allocations: 8 kB / 408.2 MB, free: 360 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00108/0.6006, allocations: 400.7 kB / 408.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.6006, allocations: 12.94 kB / 408.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.6007, allocations: 8 kB / 408.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.014e-05/0.6007, allocations: 16 kB / 408.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.6012, allocations: 87.83 kB / 408.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/0.6012, allocations: 15.94 kB / 408.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.6015, allocations: 23.84 kB / 408.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.6016, allocations: 24 kB / 408.7 MB, free: 15.77 MB / 334.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.0003467/0.602, allocations: 187 kB / 408.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/0.6028, allocations: 297.2 kB / 409.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.603, allocations: 34.66 kB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.603, allocations: 4 kB / 409.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.603, allocations: 0 / 409.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.603, allocations: 7.984 kB / 409.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.6035, allocations: 253.2 kB / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6035, allocations: 3.938 kB / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.6039, allocations: 63.89 kB / 409.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.604, allocations: 0 / 409.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.604, allocations: 12 kB / 409.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.604, allocations: 4.391 kB / 409.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.604, allocations: 0 / 409.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.6051, allocations: 435.7 kB / 410 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.6053, allocations: 132.7 kB / 410.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.6054, allocations: 19.98 kB / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.6057, allocations: 8 kB / 410.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.6057, allocations: 3.984 kB / 410.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.6058, allocations: 16 kB / 410.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.606, allocations: 136.5 kB / 410.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.606, allocations: 0 / 410.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007762/0.6068, allocations: 52 kB / 410.4 MB, free: 14.03 MB / 334.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.001995/0.6088, allocations: 1.188 MB / 411.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008972/0.6097, allocations: 285.2 kB / 411.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6097, allocations: 0 / 411.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.6098, allocations: 7.984 kB / 411.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.611, allocations: 219.8 kB / 412.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.6174, allocations: 2.958 MB / 415 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.6181, allocations: 0.7761 MB / 415.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.6182, allocations: 22.28 kB / 415.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.6185, allocations: 71.41 kB / 415.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6185, allocations: 0 / 415.9 MB, free: 8.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.6645, allocations: 5.151 MB / 421 MB, free: 3.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.11, allocations: 7.531 kB / 421 MB, free: 3.086 MB / 334.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