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.001512/0.001512, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002036/0.002036, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.565/1.565, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001997/0.001997, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3973, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003776/0.4011, allocations: 1.79 MB / 422.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.4023, allocations: 0.6115 MB / 423.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.4024, allocations: 11.94 kB / 423.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.4026, allocations: 19.8 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.4029, allocations: 43.7 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.4033, allocations: 117.8 kB / 423.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.4035, allocations: 155.6 kB / 423.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.4037, allocations: 21.55 kB / 423.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.4038, allocations: 71.75 kB / 423.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.404, allocations: 119.6 kB / 423.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.4041, allocations: 19.88 kB / 423.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.4041, allocations: 16 kB / 423.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.6e-05/0.4042, allocations: 71.8 kB / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.4043, allocations: 83.47 kB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.4046, allocations: 216.3 kB / 424.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4046, allocations: 0 / 424.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4046, allocations: 0 / 424.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.4046, allocations: 0 / 424.2 MB, free: 11.77 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.0009397/0.4056, allocations: 0.5062 MB / 424.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4056, allocations: 15.89 kB / 424.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.4057, allocations: 28.78 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.4061, allocations: 255.9 kB / 425 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.4061, allocations: 12.38 kB / 425 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.4062, allocations: 24.36 kB / 425.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.4075, allocations: 0.6265 MB / 425.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4075, allocations: 4 kB / 425.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.4075, allocations: 4 kB / 425.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.4076, allocations: 19.98 kB / 425.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.408, allocations: 183.8 kB / 425.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.4086, allocations: 362.4 kB / 426.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.4091, allocations: 231.6 kB / 426.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.4093, allocations: 142.6 kB / 426.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.4094, allocations: 12.58 kB / 426.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.4094, allocations: 42.56 kB / 426.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/0.4094, allocations: 0 / 426.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.000979/0.4104, allocations: 417.3 kB / 427.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.4106, allocations: 135.7 kB / 427.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.4108, allocations: 170.4 kB / 427.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.4108, allocations: 37.7 kB / 427.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.4109, allocations: 105.2 kB / 427.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.411, allocations: 51.7 kB / 427.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4111, allocations: 74.14 kB / 427.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4113, allocations: 334.8 kB / 428 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4114, allocations: 76.81 kB / 428 MB, free: 7.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.4118, allocations: 326.7 kB / 428.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.4123, allocations: 408.9 kB / 428.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.4123, allocations: 4 kB / 428.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006345/0.4129, allocations: 413.3 kB / 429.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.413, allocations: 8 kB / 429.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.413, allocations: 12 kB / 429.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.413, allocations: 8 kB / 429.2 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.4133, allocations: 87.77 kB / 429.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.4133, allocations: 15.94 kB / 429.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.4134, allocations: 36.27 kB / 429.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.4135, allocations: 28 kB / 429.3 MB, free: 6.113 MB / 334.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.0002682/0.4137, allocations: 179.8 kB / 429.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.4143, allocations: 293.4 kB / 429.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.4144, allocations: 34.66 kB / 429.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4144, allocations: 8 kB / 429.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4144, allocations: 0 / 429.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4144, allocations: 11.86 kB / 429.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.4147, allocations: 249.3 kB / 430.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4147, allocations: 0 / 430.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.415, allocations: 67.89 kB / 430.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.415, allocations: 4 kB / 430.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.415, allocations: 4 kB / 430.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.415, allocations: 4 kB / 430.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.415, allocations: 3.984 kB / 430.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.4157, allocations: 435.8 kB / 430.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.4158, allocations: 132.9 kB / 430.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.4159, allocations: 19.98 kB / 430.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.416, allocations: 16 kB / 430.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.416, allocations: 3.984 kB / 430.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.4161, allocations: 11.94 kB / 430.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.4162, allocations: 140.5 kB / 430.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4162, allocations: 0 / 430.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.4166, allocations: 48 kB / 431 MB, free: 4.383 MB / 334.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.000172/0.4168, allocations: 119.2 kB / 431.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.4173, allocations: 289.2 kB / 431.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4173, allocations: 0 / 431.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.4174, allocations: 7.984 kB / 431.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.4181, allocations: 203.6 kB / 431.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4195, allocations: 0.5579 MB / 432.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.4199, allocations: 0.78 MB / 432.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.42, allocations: 22.3 kB / 432.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.4201, allocations: 27.42 kB / 433 MB, free: 2.316 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4201, allocations: 0 / 433 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Templates: time 0.007733/0.4278, allocations: 2.845 MB / 435.8 MB, free: 15.48 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.1521588284522295]