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.001656/0.001656, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001894/0.001894, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001854, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3989, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003507/0.4024, allocations: 1.764 MB / 410.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.4038, allocations: 0.6739 MB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.404, allocations: 7.938 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.4042, allocations: 23.8 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.4044, allocations: 39.72 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.4049, allocations: 143 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.4052, allocations: 159.5 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.4054, allocations: 33.53 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.4056, allocations: 75.69 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.4058, allocations: 107.6 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.4059, allocations: 16 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-05/0.4059, allocations: 16 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.406, allocations: 63.81 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.4062, allocations: 87.45 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.4065, allocations: 218.1 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4065, allocations: 0 / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4065, allocations: 0 / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.4066, allocations: 3.938 kB / 412.2 MB, free: 14.09 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.00109/0.4077, allocations: 0.5179 MB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4077, allocations: 8.031 kB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/0.4078, allocations: 58.67 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.408, allocations: 36.73 kB / 412.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.4084, allocations: 259.9 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.4084, allocations: 24.34 kB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.4085, allocations: 16.38 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.4097, allocations: 0.6263 MB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4097, allocations: 0 / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.4098, allocations: 4 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.4098, allocations: 12 kB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.4102, allocations: 187.8 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.4108, allocations: 374.3 kB / 414.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.4113, allocations: 239.6 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.4116, allocations: 162.6 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.4117, allocations: 8 kB / 414.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4117, allocations: 38.56 kB / 414.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.4117, allocations: 0 / 414.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.000925/0.4126, allocations: 421.8 kB / 415.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4128, allocations: 138.7 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.413, allocations: 174.5 kB / 415.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.413, allocations: 33.7 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.4131, allocations: 97.12 kB / 415.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.4132, allocations: 55.81 kB / 415.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4133, allocations: 70.14 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4135, allocations: 342.7 kB / 416 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4136, allocations: 72.83 kB / 416.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.414, allocations: 326.7 kB / 416.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.4145, allocations: 408.9 kB / 416.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4146, allocations: 4 kB / 416.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006359/0.4152, allocations: 412.9 kB / 417.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4153, allocations: 12 kB / 417.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4153, allocations: 8.844 kB / 417.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/0.4153, allocations: 12 kB / 417.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.4156, allocations: 83.78 kB / 417.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.4156, allocations: 19.92 kB / 417.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.4158, allocations: 35.84 kB / 417.4 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.4158, allocations: 24 kB / 417.4 MB, free: 8.316 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.0002268/0.416, allocations: 182.3 kB / 417.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005315/0.4166, allocations: 298.4 kB / 417.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.515e-05/0.4167, allocations: 38.64 kB / 417.9 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4167, allocations: 4 kB / 417.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4167, allocations: 8 kB / 417.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4167, allocations: 0 / 417.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.417, allocations: 249.3 kB / 418.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.417, allocations: 4 kB / 418.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.4173, allocations: 59.91 kB / 418.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4173, allocations: 4 kB / 418.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4173, allocations: 11.98 kB / 418.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.4174, allocations: 0 / 418.3 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4174, allocations: 4 kB / 418.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.4181, allocations: 435.8 kB / 418.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4182, allocations: 140.8 kB / 418.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.4183, allocations: 12 kB / 418.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.4184, allocations: 15.98 kB / 418.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.4185, allocations: 0 / 418.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.4185, allocations: 11.98 kB / 418.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.4186, allocations: 144.2 kB / 419 MB, free: 6.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4187, allocations: 0 / 419 MB, free: 6.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.4191, allocations: 52 kB / 419.1 MB, free: 6.578 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.001418/0.4205, allocations: 1.177 MB / 420.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006417/0.4211, allocations: 297.6 kB / 420.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4211, allocations: 0 / 420.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.4212, allocations: 7.984 kB / 420.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.4219, allocations: 224.2 kB / 420.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.4263, allocations: 2.969 MB / 423.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.4268, allocations: 0.78 MB / 424.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.01e-05/0.4269, allocations: 22.3 kB / 424.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.427, allocations: 67.41 kB / 424.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.427, allocations: 0 / 424.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.4574, allocations: 5.069 MB / 429.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/8.917, allocations: 7.938 kB / 429.7 MB, free: 11.7 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.csv --start-time 0 --stop-time 0.06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.4e-05 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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