Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002378/0.003618, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008855/0.0008855, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.00212, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.022/1.022, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.161/1.183, allocations: 53.86 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.211e-05, allocations: 5.406 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003169/0.003201, allocations: 1.861 MB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004462, allocations: 0.6774 MB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.004603, allocations: 11.88 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.004736, allocations: 27.73 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.004936, allocations: 35.77 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.005393, allocations: 135.5 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.00561, allocations: 151.5 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.005719, allocations: 14.47 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.005968, allocations: 115.7 kB / 248.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.006175, allocations: 83.83 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.006207, allocations: 20 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.006302, allocations: 23.98 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.006387, allocations: 55.78 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.006439, allocations: 39.88 kB / 248.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.006743, allocations: 143.4 kB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.006757, allocations: 0 / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.006759, allocations: 0 / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.006773, allocations: 0 / 248.6 MB, free: 10.15 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.0007375/0.00751, allocations: 451.5 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.007558, allocations: 8.031 kB / 249 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.007845, allocations: 118 kB / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.008101, allocations: 189.3 kB / 249.3 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.008132, allocations: 16.36 kB / 249.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.00816, allocations: 20.38 kB / 249.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.008755, allocations: 449.1 kB / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.008764, allocations: 192 / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.008779, allocations: 4.375 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.008819, allocations: 23.92 kB / 249.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.627e-05/0.008915, allocations: 66.7 kB / 249.9 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.009185, allocations: 200.7 kB / 250.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.009366, allocations: 142.4 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.009455, allocations: 75.2 kB / 250.3 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.009485, allocations: 12 kB / 250.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.009514, allocations: 42.55 kB / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.009516, allocations: 0 / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.0002986/0.009815, allocations: 201.4 kB / 250.6 MB, free: 8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.009903, allocations: 142.6 kB / 250.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.01001, allocations: 166.6 kB / 250.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.01003, allocations: 33.7 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.01006, allocations: 93.25 kB / 251 MB, free: 7.527 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.01009, allocations: 35.77 kB / 251 MB, free: 7.492 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.01014, allocations: 41.92 kB / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.01022, allocations: 330.8 kB / 251.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.01024, allocations: 16.45 kB / 251.4 MB, free: 7.094 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.0103, allocations: 104.9 kB / 251.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.01042, allocations: 138.6 kB / 251.6 MB, free: 6.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01042, allocations: 7.984 kB / 251.7 MB, free: 6.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001324/0.01055, allocations: 145.3 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01057, allocations: 11.94 kB / 251.8 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01058, allocations: 4 kB / 251.8 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01059, allocations: 7.938 kB / 251.8 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.0107, allocations: 35.92 kB / 251.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.0107, allocations: 8.438 kB / 251.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.01075, allocations: 19.89 kB / 251.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.01076, allocations: 12 kB / 251.9 MB, free: 6.516 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.0001076/0.01087, allocations: 140.6 kB / 252 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.01102, allocations: 150.5 kB / 252.2 MB, free: 6.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.01106, allocations: 30.66 kB / 252.2 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.01107, allocations: 7.938 kB / 252.2 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.01107, allocations: 0 / 252.2 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.01108, allocations: 3.984 kB / 252.2 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.01119, allocations: 105.7 kB / 252.3 MB, free: 6.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01119, allocations: 4 kB / 252.3 MB, free: 6.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.01135, allocations: 75.89 kB / 252.4 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.01142, allocations: 47.66 kB / 252.4 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01142, allocations: 0 / 252.4 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01143, allocations: 11.98 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.01144, allocations: 7.938 kB / 252.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01144, allocations: 4 kB / 252.5 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.389e-05/0.01152, allocations: 148 kB / 252.6 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.01156, allocations: 16 kB / 252.6 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.01162, allocations: 15.98 kB / 252.6 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.01166, allocations: 7.969 kB / 252.7 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01167, allocations: 4 kB / 252.7 MB, free: 5.691 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.0117, allocations: 44.81 kB / 252.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0117, allocations: 0 / 252.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.01188, allocations: 40 kB / 252.7 MB, free: 5.605 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.0001199/0.012, allocations: 92.34 kB / 252.8 MB, free: 5.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.01216, allocations: 123.5 kB / 252.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.01216, allocations: 8 kB / 253 MB, free: 5.375 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.01218, allocations: 8.797 kB / 253 MB, free: 5.363 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.01256, allocations: 269.2 kB / 253.2 MB, free: 5.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.01361, allocations: 0.5184 MB / 253.7 MB, free: 4.52 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.01368, allocations: 112.8 kB / 253.9 MB, free: 4.391 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.087e-05/0.01371, allocations: 17.95 kB / 253.9 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.0138, allocations: 75.36 kB / 253.9 MB, free: 4.301 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.0138, allocations: 4 kB / 254 MB, free: 4.297 MB / 250.7 MB Notification: Performance of Templates: time 0.00435/0.01815, allocations: 2.599 MB / 256.6 MB, free: 1.727 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6825101198628545]