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.001637/0.001637, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002174/0.002174, allocations: 214.1 kB / 24.48 MB, free: 3.957 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001587/0.001587, allocations: 43.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2843, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003373/0.2877, allocations: 1.746 MB / 434.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2891, allocations: 0.6427 MB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.2892, allocations: 15.81 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.2894, allocations: 19.8 kB / 434.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.2896, allocations: 39.72 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.2901, allocations: 147.6 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.2903, allocations: 159.6 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2905, allocations: 33.38 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.2906, allocations: 79.7 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2909, allocations: 111.6 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.2909, allocations: 16 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.291, allocations: 20 kB / 435.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.291, allocations: 63.81 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.2911, allocations: 67.58 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.2915, allocations: 214.1 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2915, allocations: 0 / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2915, allocations: 0 / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2915, allocations: 4 kB / 435.7 MB, free: 3.344 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.001054/0.2925, allocations: 453.2 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2926, allocations: 12.03 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2928, allocations: 36.73 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.2932, allocations: 190.1 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.2933, allocations: 20.31 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.2933, allocations: 20.36 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2945, allocations: 0.6303 MB / 437 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2945, allocations: 0 / 437 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2945, allocations: 4 kB / 437 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.2946, allocations: 19.98 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.2949, allocations: 188.5 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.2954, allocations: 270.1 kB / 437.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.2959, allocations: 227.5 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.2962, allocations: 142.6 kB / 437.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.2962, allocations: 4 kB / 437.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2962, allocations: 38.72 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.2962, allocations: 0 / 437.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008807/0.2971, allocations: 429.8 kB / 438.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.2973, allocations: 142.7 kB / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.2974, allocations: 171 kB / 438.6 MB, free: 204 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2975, allocations: 33.7 kB / 438.7 MB, free: 164 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.2975, allocations: 97.14 kB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.2976, allocations: 51.67 kB / 438.8 MB, free: 12 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2977, allocations: 70.12 kB / 438.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2978, allocations: 338.8 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.298, allocations: 72.95 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.2983, allocations: 334.6 kB / 439.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.2988, allocations: 412.9 kB / 440 MB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2988, allocations: 4 kB / 440 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006018/0.2994, allocations: 405.6 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2994, allocations: 15.92 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2994, allocations: 8 kB / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.2994, allocations: 12 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.2997, allocations: 83.84 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.2997, allocations: 19.92 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2999, allocations: 31.84 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.2999, allocations: 28 kB / 440.6 MB, free: 13.96 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.0002104/0.3001, allocations: 186.5 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.3006, allocations: 298.4 kB / 441.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.782e-05/0.3007, allocations: 38.64 kB / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3007, allocations: 8 kB / 441.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3007, allocations: 0 / 441.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3007, allocations: 0 / 441.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.3009, allocations: 149.1 kB / 441.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.3009, allocations: 11.92 kB / 441.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.3012, allocations: 59.91 kB / 441.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3012, allocations: 4 kB / 441.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.3012, allocations: 15.98 kB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3012, allocations: 0 / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3012, allocations: 4 kB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.3018, allocations: 439.8 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.302, allocations: 51.7 kB / 441.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.302, allocations: 19.98 kB / 441.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3021, allocations: 16 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3022, allocations: 3.984 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3022, allocations: 8 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.3023, allocations: 131.2 kB / 442 MB, free: 12.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3023, allocations: 4 kB / 442 MB, free: 12.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.3027, allocations: 51.94 kB / 442.1 MB, free: 12.42 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.000143/0.3028, allocations: 115.2 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.3034, allocations: 289 kB / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3034, allocations: 0 / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.3034, allocations: 7.984 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.3041, allocations: 218.5 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3055, allocations: 0.5679 MB / 443.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3056, allocations: 173.9 kB / 443.4 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.3057, allocations: 27.42 kB / 443.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3057, allocations: 0 / 443.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Templates: time 0.005354/0.3111, allocations: 3.057 MB / 446.5 MB, free: 7.941 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/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: 7.259257998026442]