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.001044/0.001044, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002153, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009807/0.0009807, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.00236, allocations: 475.6 kB / 11.8 MB, free: 2.367 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 0.8207/0.8207, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1402/0.9609, allocations: 52.49 MB / 238.5 MB, free: 7.633 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.213e-06/1.213e-06, allocations: 0 / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.979e-05, allocations: 6.312 kB / 239.8 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003344/0.003364, allocations: 1.829 MB / 241.6 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.004427, allocations: 0.6093 MB / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.004512, allocations: 7.938 kB / 242.2 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.661e-05/0.004609, allocations: 26.92 kB / 242.2 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.004758, allocations: 47.56 kB / 242.3 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.005133, allocations: 127.6 kB / 242.4 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.005313, allocations: 139.6 kB / 242.5 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.005394, allocations: 23.67 kB / 242.6 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.005573, allocations: 99.77 kB / 242.7 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.005749, allocations: 91.75 kB / 242.7 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.005787, allocations: 17.03 kB / 242.8 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.709e-05/0.005814, allocations: 12 kB / 242.8 MB, free: 3.336 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.005888, allocations: 51.86 kB / 242.8 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.005944, allocations: 42.89 kB / 242.9 MB, free: 3.246 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.006151, allocations: 143.4 kB / 243 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.006158, allocations: 0 / 243 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006159, allocations: 0 / 243 MB, free: 3.105 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.006169, allocations: 0 / 243 MB, free: 3.105 MB / 234.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.000621/0.00679, allocations: 448.2 kB / 243.4 MB, free: 2.641 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.006819, allocations: 8.031 kB / 243.5 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.006885, allocations: 34.12 kB / 243.5 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.007119, allocations: 186.8 kB / 243.7 MB, free: 2.395 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.007149, allocations: 16.38 kB / 243.7 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.00718, allocations: 17.28 kB / 243.7 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.007809, allocations: 451.8 kB / 244.1 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.007821, allocations: 192 / 244.1 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.007838, allocations: 12.31 kB / 244.2 MB, free: 1.895 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.00787, allocations: 15.92 kB / 244.2 MB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.008016, allocations: 67.39 kB / 244.2 MB, free: 1.812 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.008272, allocations: 209.2 kB / 244.4 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.008493, allocations: 131.2 kB / 244.6 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.008614, allocations: 76.25 kB / 244.6 MB, free: 1.348 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.008642, allocations: 8 kB / 244.7 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.00867, allocations: 38.56 kB / 244.7 MB, free: 1.293 MB / 234.7 MB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.008672, allocations: 0 / 244.7 MB, free: 1.293 MB / 234.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003769/0.009048, allocations: 199.8 kB / 244.9 MB, free: 1.094 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.009135, allocations: 142.7 kB / 245 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.009239, allocations: 158.9 kB / 245.2 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.009261, allocations: 30.67 kB / 245.2 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.009297, allocations: 93.11 kB / 245.3 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.009335, allocations: 36.72 kB / 245.3 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.009395, allocations: 49.91 kB / 245.4 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.00948, allocations: 330.8 kB / 245.7 MB, free: 212 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.009515, allocations: 17.2 kB / 245.7 MB, free: 196 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.009593, allocations: 108.9 kB / 245.8 MB, free: 44 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.009742, allocations: 151.1 kB / 246 MB, free: 15.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.009745, allocations: 3.938 kB / 246 MB, free: 15.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000189/0.009934, allocations: 137.3 kB / 246.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.009948, allocations: 8 kB / 246.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.009954, allocations: 4.438 kB / 246.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.00997, allocations: 11.94 kB / 246.1 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01011, allocations: 43.92 kB / 246.2 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01012, allocations: 4 kB / 246.2 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.0102, allocations: 11.95 kB / 246.2 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01021, allocations: 8 kB / 246.2 MB, free: 15.62 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.000125/0.01034, allocations: 150.4 kB / 246.4 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.01058, allocations: 154.5 kB / 246.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.01063, allocations: 30.66 kB / 246.5 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.01064, allocations: 11.94 kB / 246.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01064, allocations: 0 / 246.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.01065, allocations: 7.984 kB / 246.6 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.01081, allocations: 109.7 kB / 246.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01081, allocations: 0 / 246.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.01106, allocations: 71.89 kB / 246.7 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.01115, allocations: 39.78 kB / 246.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.01115, allocations: 0 / 246.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.01117, allocations: 11.98 kB / 246.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.01118, allocations: 7.938 kB / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.01118, allocations: 4 kB / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.758e-05/0.01128, allocations: 152.3 kB / 246.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.01133, allocations: 16 kB / 247 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.01145, allocations: 11.98 kB / 247 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.01147, allocations: 3.938 kB / 247 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01149, allocations: 8 kB / 247 MB, free: 14.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.795e-05/0.01154, allocations: 48.8 kB / 247 MB, free: 14.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01154, allocations: 0 / 247 MB, free: 14.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000278/0.01182, allocations: 40 kB / 247.1 MB, free: 14.7 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 0.0001052/0.01192, allocations: 100.4 kB / 247.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.01213, allocations: 118.7 kB / 247.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.01214, allocations: 4 kB / 247.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.01216, allocations: 16.78 kB / 247.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.01265, allocations: 270.4 kB / 247.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.01419, allocations: 0.5058 MB / 248.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.506e-05/0.01428, allocations: 116.8 kB / 248.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.01432, allocations: 9.953 kB / 248.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.01444, allocations: 83.36 kB / 248.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01444, allocations: 0 / 248.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of Templates: time 0.005738/0.02018, allocations: 2.604 MB / 250.9 MB, free: 10.83 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2653846964240074]