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.001457/0.001457, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001772/0.001772, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.679/1.679, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001837/0.001837, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4788, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003645/0.4824, allocations: 1.753 MB / 434.1 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.4838, allocations: 0.635 MB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.484, allocations: 11.88 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.4841, allocations: 23.8 kB / 434.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.4844, allocations: 43.7 kB / 434.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.4849, allocations: 131.7 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.4852, allocations: 163.6 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4853, allocations: 29.39 kB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.4855, allocations: 83.69 kB / 435.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.4858, allocations: 107.6 kB / 435.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.4858, allocations: 16 kB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.565e-05/0.4859, allocations: 16 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.486, allocations: 67.8 kB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.4861, allocations: 75.58 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.4864, allocations: 214 kB / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4864, allocations: 0 / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4864, allocations: 0 / 435.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.4864, allocations: 7.922 kB / 435.7 MB, free: 3.391 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.001022/0.4875, allocations: 441.2 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4875, allocations: 12.03 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.4877, allocations: 40.73 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4881, allocations: 198 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.4881, allocations: 12.38 kB / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.4881, allocations: 20.38 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4894, allocations: 0.6419 MB / 437 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4894, allocations: 0 / 437 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.4894, allocations: 4 kB / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.4895, allocations: 15.98 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.4899, allocations: 188.5 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.4904, allocations: 270.1 kB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.4909, allocations: 227.6 kB / 437.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.4912, allocations: 142.6 kB / 437.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.4912, allocations: 4 kB / 437.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.4912, allocations: 42.5 kB / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.4912, allocations: 0 / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009139/0.4922, allocations: 433.9 kB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.4923, allocations: 130.8 kB / 438.5 MB, free: 436 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.4925, allocations: 175 kB / 438.6 MB, free: 252 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4925, allocations: 33.7 kB / 438.7 MB, free: 212 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.4926, allocations: 101.2 kB / 438.8 MB, free: 108 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.4927, allocations: 51.67 kB / 438.8 MB, free: 56 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.4928, allocations: 70.19 kB / 438.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.4931, allocations: 334.8 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.4932, allocations: 76.77 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.4936, allocations: 322.7 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.4943, allocations: 420.9 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.4943, allocations: 4 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006244/0.4949, allocations: 413 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4949, allocations: 8 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.495, allocations: 8 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.495, allocations: 12 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.4953, allocations: 84.53 kB / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/0.4953, allocations: 19.92 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.4954, allocations: 31.84 kB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.4955, allocations: 24 kB / 440.6 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.0002073/0.4957, allocations: 182.4 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/0.4962, allocations: 294.4 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.369e-05/0.4963, allocations: 34.64 kB / 441.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4963, allocations: 8 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4963, allocations: 3.938 kB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4963, allocations: 0 / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.4965, allocations: 161.1 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4965, allocations: 7.938 kB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.4968, allocations: 59.91 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4968, allocations: 0 / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4968, allocations: 11.98 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.4968, allocations: 4 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4968, allocations: 4 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.4975, allocations: 439.8 kB / 441.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.4977, allocations: 59.69 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.4977, allocations: 19.98 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.4978, allocations: 16 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.4979, allocations: 3.984 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.4979, allocations: 12 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.498, allocations: 127.2 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.498, allocations: 3.938 kB / 442 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.4984, allocations: 52 kB / 442.1 MB, free: 12.46 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.000171/0.4986, allocations: 111.2 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006004/0.4992, allocations: 289.4 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4992, allocations: 3.938 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.4993, allocations: 8.484 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.5001, allocations: 218.8 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.5017, allocations: 0.5371 MB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.5019, allocations: 169.9 kB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.586e-05/0.5019, allocations: 22.3 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.502, allocations: 31.42 kB / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.502, allocations: 0 / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Templates: time 0.00823/0.5103, allocations: 3.1 MB / 446.6 MB, free: 7.973 MB / 350.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 5.369101854012115]