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.001205/0.001205, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001944/0.003148, allocations: 449.7 kB / 10.37 MB, free: 328 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.001077/0.001077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002706, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9156/0.9156, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.024, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.393e-06/1.393e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.55e-05, allocations: 10.31 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003237/0.003262, allocations: 1.852 MB / 246.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004527, allocations: 0.6852 MB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.004658, allocations: 11.88 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.004789, allocations: 19.8 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.005002, allocations: 39.72 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.005479, allocations: 131.5 kB / 247.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.00569, allocations: 147.6 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.005812, allocations: 26.44 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.006084, allocations: 99.72 kB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.006312, allocations: 99.73 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.006349, allocations: 16 kB / 247.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.006444, allocations: 16 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.006535, allocations: 55.84 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.006596, allocations: 39.88 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.006858, allocations: 143.4 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.006874, allocations: 4 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006875, allocations: 0 / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.006891, allocations: 0 / 247.9 MB, free: 10.92 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.0006834/0.007574, allocations: 447.5 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.007608, allocations: 8.031 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.007808, allocations: 114 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.008062, allocations: 185.3 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.008094, allocations: 16.38 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.00812, allocations: 20.31 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.008772, allocations: 469 kB / 249.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.008783, allocations: 192 / 249.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.008803, allocations: 8.375 kB / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.008836, allocations: 11.94 kB / 249.2 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.008976, allocations: 70.7 kB / 249.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.009237, allocations: 192.8 kB / 249.4 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.009461, allocations: 138.4 kB / 249.6 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.009564, allocations: 75.11 kB / 249.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.009598, allocations: 11.94 kB / 249.6 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.009627, allocations: 46.56 kB / 249.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.009628, allocations: 0 / 249.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003492/0.009977, allocations: 197.5 kB / 249.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.01008, allocations: 155 kB / 250 MB, free: 8.609 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.01019, allocations: 159.1 kB / 250.2 MB, free: 8.441 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.01021, allocations: 33.83 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.01027, allocations: 97.11 kB / 250.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.01031, allocations: 35.77 kB / 250.3 MB, free: 8.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.01037, allocations: 41.92 kB / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.01046, allocations: 326.8 kB / 250.7 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.01049, allocations: 16.45 kB / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.0106, allocations: 112.9 kB / 250.8 MB, free: 7.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.01073, allocations: 146.5 kB / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01074, allocations: 0 / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001919/0.01093, allocations: 145.3 kB / 251.1 MB, free: 7.387 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01094, allocations: 4 kB / 251.1 MB, free: 7.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.01095, allocations: 4 kB / 251.1 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01097, allocations: 7.938 kB / 251.1 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.01111, allocations: 43.92 kB / 251.2 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.01113, allocations: 16.34 kB / 251.2 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.01121, allocations: 23.89 kB / 251.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.01122, allocations: 4 kB / 251.2 MB, free: 7.285 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.0001216/0.01134, allocations: 137.1 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.01157, allocations: 146.5 kB / 251.5 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.01162, allocations: 30.66 kB / 251.5 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.01163, allocations: 11.94 kB / 251.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01163, allocations: 3.984 kB / 251.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01164, allocations: 0 / 251.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.01187, allocations: 105.8 kB / 251.6 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.01188, allocations: 7.984 kB / 251.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.01212, allocations: 67.89 kB / 251.7 MB, free: 6.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.01221, allocations: 47.7 kB / 251.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01221, allocations: 4 kB / 251.8 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.01223, allocations: 11.98 kB / 251.8 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.01224, allocations: 7.938 kB / 251.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01224, allocations: 0 / 251.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.01235, allocations: 152.3 kB / 251.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.0124, allocations: 23.92 kB / 252 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.0125, allocations: 4 kB / 252 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.01253, allocations: 11.97 kB / 252 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.01256, allocations: 15.98 kB / 252 MB, free: 6.453 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.0126, allocations: 36.81 kB / 252 MB, free: 6.414 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0126, allocations: 0 / 252 MB, free: 6.414 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.01287, allocations: 40 kB / 252.1 MB, free: 6.375 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.0001335/0.013, allocations: 104.3 kB / 252.2 MB, free: 6.266 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.01322, allocations: 122.6 kB / 252.3 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.01323, allocations: 0 / 252.3 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.01324, allocations: 12.8 kB / 252.3 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.01371, allocations: 157.2 kB / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.01529, allocations: 0.502 MB / 253 MB, free: 5.434 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.01539, allocations: 113.3 kB / 253.1 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.01544, allocations: 17.95 kB / 253.1 MB, free: 5.285 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.01556, allocations: 79.36 kB / 253.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01556, allocations: 0 / 253.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of Templates: time 0.006587/0.02214, allocations: 2.692 MB / 255.9 MB, free: 2.543 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.586245539598167]