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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002155, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002835, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.007/1.007, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08507/1.092, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.611e-05, allocations: 2.875 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002427/0.002443, allocations: 1.833 MB / 241.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.003275, allocations: 0.619 MB / 242 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.003362, allocations: 7.875 kB / 242 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.007468, allocations: 23.8 kB / 242 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.007611, allocations: 35.72 kB / 242.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.007927, allocations: 131.5 kB / 242.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.008093, allocations: 139.6 kB / 242.3 MB, free: 372 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.008189, allocations: 18.45 kB / 242.4 MB, free: 352 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.008329, allocations: 99.77 kB / 242.5 MB, free: 252 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.008496, allocations: 91.81 kB / 242.5 MB, free: 160 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.008528, allocations: 12 kB / 242.6 MB, free: 148 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/0.008553, allocations: 16 kB / 242.6 MB, free: 132 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.008637, allocations: 59.77 kB / 242.6 MB, free: 72 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.008699, allocations: 39.88 kB / 242.7 MB, free: 32 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.008922, allocations: 139.5 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.008933, allocations: 0 / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.008934, allocations: 0 / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.008948, allocations: 3.938 kB / 242.8 MB, free: 15.89 MB / 250.7 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.000591/0.009539, allocations: 447.5 kB / 243.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.009568, allocations: 8.031 kB / 243.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.009622, allocations: 28.91 kB / 243.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.009837, allocations: 189.3 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.009864, allocations: 16.38 kB / 243.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.009889, allocations: 24.36 kB / 243.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/0.01342, allocations: 453.2 kB / 243.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.01343, allocations: 4.125 kB / 244 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.01345, allocations: 4.375 kB / 244 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.01348, allocations: 15.94 kB / 244 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.01359, allocations: 70.77 kB / 244 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.01382, allocations: 204.6 kB / 244.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.014, allocations: 130.4 kB / 244.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.01409, allocations: 74.61 kB / 244.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.01412, allocations: 8 kB / 244.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.01414, allocations: 38.56 kB / 244.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.01414, allocations: 0 / 244.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003179/0.01446, allocations: 210 kB / 244.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.01455, allocations: 139.8 kB / 244.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.01464, allocations: 162.8 kB / 245 MB, free: 13.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01466, allocations: 29.7 kB / 245 MB, free: 13.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.01469, allocations: 93.11 kB / 245.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.01472, allocations: 43.7 kB / 245.1 MB, free: 13.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.01477, allocations: 37.92 kB / 245.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.01486, allocations: 330.8 kB / 245.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.01488, allocations: 16.45 kB / 245.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.01496, allocations: 112.9 kB / 245.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.01507, allocations: 142.6 kB / 245.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01507, allocations: 4 kB / 245.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001612/0.01524, allocations: 141.3 kB / 245.9 MB, free: 12.47 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01525, allocations: 8 kB / 245.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01526, allocations: 8 kB / 245.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01527, allocations: 8.375 kB / 245.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01539, allocations: 43.92 kB / 246 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01539, allocations: 8 kB / 246 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.01545, allocations: 15.94 kB / 246 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.01547, allocations: 8 kB / 246 MB, free: 12.38 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (27): * Single equations (assignments): 27 * 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.0001037/0.01557, allocations: 144.5 kB / 246.2 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.01575, allocations: 150.5 kB / 246.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.0158, allocations: 34.64 kB / 246.3 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01581, allocations: 7.938 kB / 246.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01581, allocations: 0 / 246.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01582, allocations: 7.984 kB / 246.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.01595, allocations: 109.7 kB / 246.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01596, allocations: 0 / 246.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.01615, allocations: 71.89 kB / 246.5 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/0.01922, allocations: 43.72 kB / 246.6 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01922, allocations: 0 / 246.6 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.01924, allocations: 11.98 kB / 246.6 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01924, allocations: 3.938 kB / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01924, allocations: 0 / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.498e-05/0.01933, allocations: 156 kB / 246.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.01937, allocations: 24.02 kB / 246.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.01946, allocations: 8 kB / 246.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.01948, allocations: 3.938 kB / 246.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.01949, allocations: 11.98 kB / 246.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.01953, allocations: 37.08 kB / 246.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01953, allocations: 0 / 246.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.01977, allocations: 40 kB / 246.9 MB, free: 11.46 MB / 250.7 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 9.463e-05/0.01986, allocations: 100.3 kB / 247 MB, free: 11.35 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.02003, allocations: 126.7 kB / 247.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.02004, allocations: 0 / 247.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.02005, allocations: 8.859 kB / 247.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.02043, allocations: 154.4 kB / 247.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.02169, allocations: 0.5106 MB / 247.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.737e-05/0.02177, allocations: 116.8 kB / 247.9 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.0218, allocations: 13.95 kB / 247.9 MB, free: 10.37 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.0219, allocations: 79.36 kB / 248 MB, free: 10.29 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0219, allocations: 0 / 248 MB, free: 10.29 MB / 250.7 MB Notification: Performance of Templates: time 0.01093/0.03284, allocations: 2.701 MB / 250.7 MB, free: 7.625 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5834535444155335]