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.0008757/0.0008757, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002052, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006963/0.0006963, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009277/0.001624, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1174/1.136, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.534e-05, allocations: 10.11 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003884/0.003919, allocations: 1.857 MB / 246.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.005246, allocations: 0.6813 MB / 247.3 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.005396, allocations: 7.938 kB / 247.3 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.005546, allocations: 27.73 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.005758, allocations: 39.7 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.006148, allocations: 135.5 kB / 247.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.006317, allocations: 147.5 kB / 247.6 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.209e-05/0.006409, allocations: 18.45 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.006602, allocations: 111.7 kB / 247.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.006771, allocations: 99.8 kB / 247.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.006797, allocations: 12 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.006863, allocations: 20 kB / 247.9 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.006928, allocations: 51.8 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.00697, allocations: 39.88 kB / 248 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.007172, allocations: 143.4 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.007182, allocations: 0 / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007183, allocations: 0 / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.007193, allocations: 0 / 248.1 MB, free: 10.82 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.0006433/0.007837, allocations: 451.5 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.007866, allocations: 8.031 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.008019, allocations: 118 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.008226, allocations: 185.3 kB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.008252, allocations: 16.38 kB / 248.9 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.008271, allocations: 16.38 kB / 248.9 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.008706, allocations: 461.1 kB / 249.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.008715, allocations: 192 / 249.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.008728, allocations: 4.375 kB / 249.3 MB, free: 9.488 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.008754, allocations: 15.92 kB / 249.3 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.008843, allocations: 74.7 kB / 249.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.009079, allocations: 196.8 kB / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.009236, allocations: 130.5 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/0.009304, allocations: 83.19 kB / 249.8 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.009327, allocations: 8 kB / 249.8 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.009349, allocations: 46.5 kB / 249.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.223e-06/0.00935, allocations: 0 / 249.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.0002497/0.0096, allocations: 197.5 kB / 250.1 MB, free: 8.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.009673, allocations: 150.9 kB / 250.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.009756, allocations: 163.1 kB / 250.4 MB, free: 8.332 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.009776, allocations: 37.83 kB / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.009805, allocations: 93.11 kB / 250.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.009833, allocations: 35.77 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.009874, allocations: 41.92 kB / 250.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.009952, allocations: 326.8 kB / 250.9 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.009971, allocations: 20.45 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.01004, allocations: 104.9 kB / 251 MB, free: 7.617 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.289e-05/0.01013, allocations: 138.6 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01013, allocations: 4 kB / 251.2 MB, free: 7.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001238/0.01026, allocations: 145.3 kB / 251.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01027, allocations: 8 kB / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01028, allocations: 4 kB / 251.3 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01029, allocations: 7.938 kB / 251.3 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.01039, allocations: 40.36 kB / 251.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.01039, allocations: 19.92 kB / 251.4 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.01044, allocations: 15.88 kB / 251.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.01045, allocations: 12 kB / 251.4 MB, free: 7.18 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 9.95e-05/0.01055, allocations: 140.6 kB / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.01088, allocations: 150.5 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.01092, allocations: 30.66 kB / 251.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01093, allocations: 7.938 kB / 251.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01093, allocations: 0 / 251.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01094, allocations: 3.984 kB / 251.7 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.01105, allocations: 109.7 kB / 251.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01105, allocations: 0 / 251.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.0112, allocations: 75.89 kB / 251.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.01126, allocations: 43.72 kB / 251.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01126, allocations: 0 / 251.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01127, allocations: 11.98 kB / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01127, allocations: 7.938 kB / 252 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01128, allocations: 0 / 252 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.845e-05/0.01135, allocations: 160.3 kB / 252.1 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.01139, allocations: 19.98 kB / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.732e-05/0.01145, allocations: 15.97 kB / 252.2 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.01147, allocations: 3.938 kB / 252.2 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01148, allocations: 11.98 kB / 252.2 MB, free: 6.344 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.045e-05/0.01151, allocations: 36.83 kB / 252.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01151, allocations: 0 / 252.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.01169, allocations: 40 kB / 252.2 MB, free: 6.266 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.969e-05/0.01179, allocations: 96.34 kB / 252.3 MB, free: 6.164 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.01194, allocations: 130.9 kB / 252.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01195, allocations: 0 / 252.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.01196, allocations: 8.859 kB / 252.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.01232, allocations: 271.7 kB / 252.7 MB, free: 5.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.01339, allocations: 0.5093 MB / 253.3 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.397e-05/0.01346, allocations: 116.8 kB / 253.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.0135, allocations: 17.94 kB / 253.4 MB, free: 5.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01361, allocations: 87.36 kB / 253.5 MB, free: 4.957 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01361, allocations: 0 / 253.5 MB, free: 4.957 MB / 250.7 MB Notification: Performance of Templates: time 0.004402/0.01801, allocations: 2.586 MB / 256.1 MB, free: 2.402 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] 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","",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.6615722430869937]