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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001535/0.001535, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.001779, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.698/1.698, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 50.54 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003361/0.3708, allocations: 1.763 MB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3722, allocations: 0.6739 MB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.3723, allocations: 7.938 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3726, allocations: 23.8 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3729, allocations: 43.72 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.3734, allocations: 135.1 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.3737, allocations: 159.6 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3738, allocations: 33.55 kB / 411.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.3741, allocations: 75.69 kB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.3744, allocations: 103.6 kB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3744, allocations: 16 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.527e-05/0.3745, allocations: 16 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.3746, allocations: 67.8 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3747, allocations: 87.47 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.375, allocations: 220.9 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.375, allocations: 0 / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.375, allocations: 7.938 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.375, allocations: 0 / 412.2 MB, free: 14.13 MB / 334.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.0009088/0.376, allocations: 0.5103 MB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.376, allocations: 8.031 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.3761, allocations: 58.67 kB / 412.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.3763, allocations: 36.64 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.3767, allocations: 267.7 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.3767, allocations: 16.38 kB / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.3768, allocations: 12.38 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3778, allocations: 0.6301 MB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3779, allocations: 0 / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.3779, allocations: 4 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.378, allocations: 12 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.3783, allocations: 191.8 kB / 413.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.3788, allocations: 374.2 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.3793, allocations: 235.6 kB / 414.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.3796, allocations: 162.6 kB / 414.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.3796, allocations: 4 kB / 414.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.3797, allocations: 42.55 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.184e-06/0.3797, allocations: 0 / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009143/0.3806, allocations: 429.8 kB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.3808, allocations: 134.8 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.381, allocations: 170.4 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.381, allocations: 33.7 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.3811, allocations: 97.12 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.3812, allocations: 51.53 kB / 415.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3813, allocations: 74.08 kB / 415.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3815, allocations: 334.8 kB / 416 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.3816, allocations: 80.83 kB / 416.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.382, allocations: 334.7 kB / 416.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.3825, allocations: 416.9 kB / 416.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3825, allocations: 0 / 416.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006199/0.3831, allocations: 405.5 kB / 417.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3832, allocations: 8.188 kB / 417.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3832, allocations: 12 kB / 417.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-05/0.3832, allocations: 12 kB / 417.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.3835, allocations: 79.84 kB / 417.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.3836, allocations: 16.23 kB / 417.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3837, allocations: 35.75 kB / 417.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.3838, allocations: 24 kB / 417.4 MB, free: 8.375 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.0002286/0.384, allocations: 190.3 kB / 417.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.3845, allocations: 302.2 kB / 417.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.848e-05/0.3846, allocations: 34.64 kB / 417.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.3847, allocations: 4 kB / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3847, allocations: 0 / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3847, allocations: 7.984 kB / 417.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.385, allocations: 245.3 kB / 418.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.385, allocations: 0 / 418.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.3853, allocations: 67.89 kB / 418.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3853, allocations: 0 / 418.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3853, allocations: 8 kB / 418.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3853, allocations: 4 kB / 418.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3853, allocations: 4 kB / 418.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.386, allocations: 435.6 kB / 418.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3862, allocations: 136.7 kB / 418.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.3863, allocations: 19.98 kB / 418.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3864, allocations: 12 kB / 418.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.3865, allocations: 4 kB / 418.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.3865, allocations: 15.92 kB / 418.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3866, allocations: 136.3 kB / 419 MB, free: 6.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3866, allocations: 0 / 419 MB, free: 6.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.387, allocations: 48 kB / 419 MB, free: 6.637 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.001196/0.3882, allocations: 1.173 MB / 420.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.3887, allocations: 296.7 kB / 420.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3887, allocations: 0 / 420.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.3888, allocations: 7.984 kB / 420.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.3895, allocations: 221.1 kB / 420.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.3932, allocations: 2.969 MB / 423.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3936, allocations: 0.7839 MB / 424.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.281e-05/0.3937, allocations: 18.3 kB / 424.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3939, allocations: 67.41 kB / 424.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3939, allocations: 4 kB / 424.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.4173, allocations: 5.182 MB / 429.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/8.806, allocations: 7.031 kB / 429.7 MB, free: 11.66 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches