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.001123/0.001123, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 204.6 kB / 18.74 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.503/1.503, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 55.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4779, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004505/0.4825, allocations: 1.763 MB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.4843, allocations: 0.6817 MB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.4845, allocations: 7.938 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.4847, allocations: 19.8 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.485, allocations: 39.72 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.4857, allocations: 135.1 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.486, allocations: 155.6 kB / 411.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.4862, allocations: 33.55 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.4865, allocations: 79.69 kB / 411.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.4869, allocations: 107.6 kB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.4869, allocations: 12 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.352e-05/0.487, allocations: 19.98 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.4871, allocations: 59.83 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4872, allocations: 95.45 kB / 412 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.4876, allocations: 220.9 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4876, allocations: 0 / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4876, allocations: 3.938 kB / 412.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4877, allocations: 0 / 412.2 MB, free: 14.14 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.0009924/0.4887, allocations: 0.5064 MB / 412.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4887, allocations: 8.031 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.771e-05/0.4888, allocations: 58.73 kB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.489, allocations: 36.64 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.4893, allocations: 259.7 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.4894, allocations: 20.31 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.4894, allocations: 16.38 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.4906, allocations: 0.6301 MB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4906, allocations: 0 / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.4906, allocations: 8 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.4907, allocations: 11.98 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.4911, allocations: 195.8 kB / 413.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.4916, allocations: 362.2 kB / 414.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.4921, allocations: 247.5 kB / 414.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.4924, allocations: 158.6 kB / 414.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.4925, allocations: 12.12 kB / 414.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.4925, allocations: 42.5 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.452e-06/0.4925, allocations: 0 / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008413/0.4934, allocations: 429.7 kB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4935, allocations: 126.7 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4936, allocations: 170.4 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4937, allocations: 33.7 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.4938, allocations: 101.1 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.4938, allocations: 47.53 kB / 415.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.4939, allocations: 78.2 kB / 415.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4941, allocations: 334.8 kB / 416 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4942, allocations: 84.75 kB / 416.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.4946, allocations: 330.7 kB / 416.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.495, allocations: 409 kB / 416.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.495, allocations: 4 kB / 416.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006146/0.4957, allocations: 405.5 kB / 417.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4957, allocations: 10.81 kB / 417.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4957, allocations: 8 kB / 417.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.4957, allocations: 12 kB / 417.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.496, allocations: 83.84 kB / 417.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.496, allocations: 20.23 kB / 417.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.4962, allocations: 27.75 kB / 417.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.4962, allocations: 24 kB / 417.4 MB, free: 8.383 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.0001813/0.4964, allocations: 194.5 kB / 417.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/0.4969, allocations: 302.2 kB / 417.9 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.497, allocations: 34.64 kB / 417.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.497, allocations: 4 kB / 417.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.497, allocations: 4 kB / 417.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4971, allocations: 3.984 kB / 417.9 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.4973, allocations: 245.3 kB / 418.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4973, allocations: 0 / 418.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.4976, allocations: 63.89 kB / 418.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4976, allocations: 4 kB / 418.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.4977, allocations: 8 kB / 418.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-05/0.4977, allocations: 4 kB / 418.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4977, allocations: 3.938 kB / 418.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006268/0.4983, allocations: 431.7 kB / 418.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.4985, allocations: 144.7 kB / 418.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.4986, allocations: 19.98 kB / 418.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4987, allocations: 8 kB / 418.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4988, allocations: 11.92 kB / 418.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.4988, allocations: 15.94 kB / 418.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.499, allocations: 132.3 kB / 419 MB, free: 6.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.499, allocations: 0 / 419 MB, free: 6.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.4994, 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.001362/0.5008, allocations: 1.176 MB / 420.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.5013, allocations: 289.7 kB / 420.5 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5013, allocations: 0 / 420.5 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/0.5014, allocations: 7.984 kB / 420.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.5021, allocations: 216.1 kB / 420.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.5062, allocations: 2.973 MB / 423.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.5067, allocations: 0.78 MB / 424.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.46e-05/0.5068, allocations: 22.3 kB / 424.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.5069, allocations: 71.41 kB / 424.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5069, allocations: 0 / 424.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.5356, allocations: 5.187 MB / 429.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/9.043, allocations: 3.938 kB / 429.7 MB, free: 11.65 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