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.001428/0.001428, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 59.25 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.106, allocations: 50.52 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003981/0.11, allocations: 1.768 MB / 359.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1119, allocations: 0.6778 MB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1121, allocations: 7.938 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1123, allocations: 23.73 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1126, allocations: 35.78 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.1133, allocations: 139.2 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1136, allocations: 159.6 kB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1137, allocations: 33.53 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1139, allocations: 79.69 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.1142, allocations: 103.6 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.1143, allocations: 12 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.1143, allocations: 23.98 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.1144, allocations: 67.81 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.1145, allocations: 83.47 kB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1149, allocations: 223.4 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1149, allocations: 0 / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1149, allocations: 0 / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1149, allocations: 0 / 361 MB, free: 10.57 MB / 302.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.001135/0.116, allocations: 0.5142 MB / 361.5 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/0.1161, allocations: 8.031 kB / 361.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1162, allocations: 54.73 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.1166, allocations: 36.55 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.1171, allocations: 243.9 kB / 361.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.1172, allocations: 16.38 kB / 361.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.1172, allocations: 16.36 kB / 361.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.1186, allocations: 0.6339 MB / 362.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1186, allocations: 0 / 362.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.1187, allocations: 7.984 kB / 362.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/0.1187, allocations: 15.98 kB / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.1192, allocations: 191.8 kB / 362.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.1198, allocations: 362.3 kB / 363.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.1203, allocations: 247.6 kB / 363.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.1206, allocations: 162.6 kB / 363.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.1207, allocations: 4 kB / 363.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1207, allocations: 42.5 kB / 363.5 MB, free: 7.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 4.178e-06/0.1207, allocations: 4 kB / 363.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009001/0.1216, allocations: 425.8 kB / 363.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1218, allocations: 130.7 kB / 364.1 MB, free: 7.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1219, allocations: 178.1 kB / 364.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.122, allocations: 29.7 kB / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.122, allocations: 97.14 kB / 364.4 MB, free: 6.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.1221, allocations: 47.53 kB / 364.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.1222, allocations: 82.16 kB / 364.5 MB, free: 6.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1223, allocations: 334.8 kB / 364.8 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1225, allocations: 76.83 kB / 364.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.1228, allocations: 326.6 kB / 365.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.1233, allocations: 417 kB / 365.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.1233, allocations: 0 / 365.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007053/0.124, allocations: 409.5 kB / 366 MB, free: 5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1241, allocations: 8 kB / 366 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.1241, allocations: 8 kB / 366 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.1241, allocations: 12 kB / 366.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.1244, allocations: 87.83 kB / 366.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.531e-05/0.1244, allocations: 11.94 kB / 366.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1246, allocations: 31.83 kB / 366.2 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.1247, allocations: 24 kB / 366.2 MB, free: 4.82 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.0002605/0.125, allocations: 191.6 kB / 366.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/0.1255, allocations: 293.2 kB / 366.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.909e-05/0.1256, allocations: 34.64 kB / 366.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.1256, allocations: 4 kB / 366.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1256, allocations: 3.938 kB / 366.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1256, allocations: 7.984 kB / 366.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.1259, allocations: 253.2 kB / 367 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1259, allocations: 0 / 367 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1262, allocations: 63.91 kB / 367 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1262, allocations: 0 / 367 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1263, allocations: 15.98 kB / 367.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1263, allocations: 0 / 367.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1263, allocations: 4 kB / 367.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.1269, allocations: 436.6 kB / 367.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.1271, allocations: 132.7 kB / 367.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.1271, allocations: 19.98 kB / 367.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1273, allocations: 11.98 kB / 367.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.1273, allocations: 4 kB / 367.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1274, allocations: 12 kB / 367.7 MB, free: 3.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1275, allocations: 128.3 kB / 367.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1275, allocations: 4 kB / 367.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.1279, allocations: 48 kB / 367.8 MB, free: 3.086 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.001312/0.1293, allocations: 1.184 MB / 369 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008107/0.1301, allocations: 341.5 kB / 369.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1301, allocations: 0 / 369.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.1302, allocations: 11.98 kB / 369.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.131, allocations: 216.8 kB / 369.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1644/0.2954, allocations: 2.93 MB / 372.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.2957, allocations: 0.7879 MB / 373.3 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.518e-05/0.2958, allocations: 20.55 kB / 373.3 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.2959, allocations: 69.28 kB / 373.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.296, allocations: 5.094 kB / 373.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.3238, allocations: 4.981 MB / 378.4 MB, free: 17.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.107, allocations: 4.109 kB / 378.4 MB, free: 17.48 MB / 302.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