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.001102/0.001102, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008972/0.0008972, allocations: 147 kB / 24.89 MB, free: 8.793 MB / 18.57 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 0.8971/0.8971, allocations: 173.4 MB / 201.5 MB, free: 8.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.393e-06/1.393e-06, allocations: 0 / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.439e-05, allocations: 9.906 kB / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002042/0.002057, allocations: 1.783 MB / 270.3 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008013/0.002858, allocations: 0.619 MB / 270.9 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.002953, allocations: 11.88 kB / 270.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.003087, allocations: 19.86 kB / 270.9 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.003255, allocations: 39.7 kB / 270.9 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.003535, allocations: 123.5 kB / 271.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.003685, allocations: 147.6 kB / 271.2 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.003767, allocations: 26.39 kB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.003876, allocations: 87.83 kB / 271.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.00402, allocations: 95.77 kB / 271.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.004046, allocations: 12 kB / 271.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.004064, allocations: 16 kB / 271.4 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.004126, allocations: 67.78 kB / 271.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.004169, allocations: 51.83 kB / 271.6 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.004323, allocations: 159.4 kB / 271.7 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.004324, allocations: 0 / 271.7 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004325, allocations: 4 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.004328, allocations: 0 / 271.7 MB, free: 2.754 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.0005044/0.004832, allocations: 407.9 kB / 272.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.004859, allocations: 11.97 kB / 272.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.004906, allocations: 36.91 kB / 272.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.005075, allocations: 177.4 kB / 272.3 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.005096, allocations: 12.38 kB / 272.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.005119, allocations: 20.38 kB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.005533, allocations: 453.1 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005544, allocations: 192 / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.005557, allocations: 8.375 kB / 272.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.00558, allocations: 19.88 kB / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.005666, allocations: 66.77 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.005851, allocations: 208.6 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.006, allocations: 146.1 kB / 273.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.006067, allocations: 74.61 kB / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.006089, allocations: 8 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.006108, allocations: 38.56 kB / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.182e-06/0.006109, allocations: 0 / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.0002431/0.006352, allocations: 202 kB / 273.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.006424, allocations: 143.7 kB / 273.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.006501, allocations: 154.6 kB / 273.9 MB, free: 440 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.006518, allocations: 33.7 kB / 273.9 MB, free: 400 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.006544, allocations: 97.23 kB / 274 MB, free: 300 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.006569, allocations: 35.77 kB / 274 MB, free: 264 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.006612, allocations: 49.88 kB / 274.1 MB, free: 204 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.006692, allocations: 326.8 kB / 274.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.00671, allocations: 16.45 kB / 274.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.006766, allocations: 104.9 kB / 274.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.932e-05/0.006856, allocations: 146.6 kB / 274.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006858, allocations: 0 / 274.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001175/0.006976, allocations: 145.3 kB / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.006986, allocations: 8 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.006992, allocations: 4 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.007005, allocations: 7.938 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.007083, allocations: 31.92 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.007088, allocations: 8.438 kB / 274.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.00713, allocations: 15.94 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.007141, allocations: 15.98 kB / 274.9 MB, free: 15.29 MB / 266.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 8.169e-05/0.007223, allocations: 140.5 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.007361, allocations: 154.9 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.007396, allocations: 30.66 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.0074, allocations: 7.938 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.007402, allocations: 0 / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.007407, allocations: 3.984 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.00754, allocations: 105.7 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007542, allocations: 4 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.007664, allocations: 59.91 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.007667, allocations: 7.984 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.007679, allocations: 11.98 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.00768, allocations: 0 / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007681, allocations: 0 / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.412e-05/0.007745, allocations: 156 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.007801, allocations: 47.7 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.00783, allocations: 15.98 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.007885, allocations: 12 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.007903, allocations: 7.969 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.007915, allocations: 7.984 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.007942, allocations: 45.06 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007942, allocations: 0 / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001661/0.008108, allocations: 40 kB / 275.7 MB, free: 14.38 MB / 266.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 7.388e-05/0.008182, allocations: 92.36 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.008321, allocations: 139.2 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.008324, allocations: 0 / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/0.008332, allocations: 4.859 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.00861, allocations: 142.4 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.00928, allocations: 0.5048 MB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.842e-05/0.009339, allocations: 113.2 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.009367, allocations: 17.95 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.009446, allocations: 79.36 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009447, allocations: 0 / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003904/0.01335, allocations: 2.662 MB / 279.5 MB, free: 10.59 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] 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","",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.5873583811335266]