Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 115.6 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003439/0.003439, allocations: 208.1 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.622/1.622, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 47.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2867, allocations: 53.36 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003352/0.2901, allocations: 1.788 MB / 433.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2915, allocations: 0.6894 MB / 434.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.2916, allocations: 7.938 kB / 434.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2917, allocations: 19.8 kB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.292, allocations: 47.7 kB / 434.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.2925, allocations: 139.5 kB / 434.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.2928, allocations: 171.4 kB / 434.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2929, allocations: 21.75 kB / 434.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.2931, allocations: 79.73 kB / 434.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.2933, allocations: 111.6 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.2933, allocations: 16 kB / 434.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.2934, allocations: 20 kB / 434.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2935, allocations: 63.81 kB / 434.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.2936, allocations: 95.39 kB / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.2939, allocations: 221.3 kB / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2939, allocations: 0 / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2939, allocations: 0 / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.2939, allocations: 0 / 435.1 MB, free: 3.473 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.0008722/0.2948, allocations: 441.3 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2948, allocations: 8.031 kB / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.295, allocations: 44.73 kB / 435.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.2954, allocations: 194 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.2954, allocations: 20.38 kB / 435.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.2954, allocations: 16.38 kB / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.2967, allocations: 0.6381 MB / 436.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2967, allocations: 0 / 436.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.2967, allocations: 4 kB / 436.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.2967, allocations: 16 kB / 436.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.2971, allocations: 188.5 kB / 436.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.2976, allocations: 341.4 kB / 437 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.2981, allocations: 219.6 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.2984, allocations: 146.6 kB / 437.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.2984, allocations: 8 kB / 437.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.2984, allocations: 34.56 kB / 437.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.2985, allocations: 4 kB / 437.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009532/0.2994, allocations: 429.9 kB / 437.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.2995, allocations: 142.6 kB / 437.9 MB, free: 436 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.2997, allocations: 175 kB / 438.1 MB, free: 252 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.2998, allocations: 29.7 kB / 438.1 MB, free: 216 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.2999, allocations: 101.1 kB / 438.2 MB, free: 112 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.2999, allocations: 51.8 kB / 438.3 MB, free: 60 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3, allocations: 74.22 kB / 438.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3002, allocations: 334.8 kB / 438.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3003, allocations: 72.83 kB / 438.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3007, allocations: 318.7 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.3012, allocations: 424.9 kB / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3012, allocations: 0 / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006501/0.3019, allocations: 409.6 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3019, allocations: 11.94 kB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3019, allocations: 8 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.302, allocations: 12 kB / 439.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.3022, allocations: 83.78 kB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.3022, allocations: 19.92 kB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3024, allocations: 35.84 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3024, allocations: 20 kB / 440.1 MB, free: 14.01 MB / 350.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.0001989/0.3026, allocations: 190.6 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/0.3032, allocations: 294.3 kB / 440.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.3033, allocations: 38.64 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3033, allocations: 7.938 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3033, allocations: 0 / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3033, allocations: 7.984 kB / 440.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.3036, allocations: 216.4 kB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3036, allocations: 0 / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.3039, allocations: 71.91 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3039, allocations: 0 / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.3039, allocations: 11.98 kB / 440.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3039, allocations: 7.938 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3039, allocations: 0 / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.3046, allocations: 435.8 kB / 441.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3047, allocations: 59.75 kB / 441.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.3048, allocations: 16 kB / 441.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3049, allocations: 11.98 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.305, allocations: 7.938 kB / 441.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.305, allocations: 15.98 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.3051, allocations: 127.2 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3051, allocations: 0 / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004159/0.3055, allocations: 44 kB / 441.6 MB, free: 12.4 MB / 350.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.0001579/0.3057, allocations: 128.1 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.3063, allocations: 290.2 kB / 442 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3063, allocations: 4 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.3063, allocations: 4 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.307, allocations: 212.2 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3083, allocations: 0.5367 MB / 442.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.3087, allocations: 0.7877 MB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.078e-05/0.3088, allocations: 30.22 kB / 443.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.3089, allocations: 23.44 kB / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3089, allocations: 0 / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Templates: time 0.007259/0.3161, allocations: 2.965 MB / 446.6 MB, free: 7.379 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.151016081217676]