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.001676/0.001676, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001813/0.001813, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 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 1.496/1.496, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.503e-06/1.503e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.226e-05, allocations: 2.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003385/0.003417, allocations: 1.732 MB / 269.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.004798, allocations: 0.5957 MB / 269.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.004931, allocations: 11.88 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.005113, allocations: 15.86 kB / 269.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.005374, allocations: 43.64 kB / 269.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.005865, allocations: 123.7 kB / 269.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.006115, allocations: 151.5 kB / 270 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.006223, allocations: 21.78 kB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.006637, allocations: 95.73 kB / 270.1 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.006858, allocations: 87.8 kB / 270.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.006902, allocations: 16 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.149e-05/0.006933, allocations: 12 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.007038, allocations: 75.73 kB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.007125, allocations: 51.83 kB / 270.4 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.007467, allocations: 223.2 kB / 270.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00747, allocations: 0 / 270.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.007471, allocations: 0 / 270.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.007477, allocations: 0 / 270.6 MB, free: 3.441 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.0009305/0.008408, allocations: 441.3 kB / 271 MB, free: 2.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.008448, allocations: 16.02 kB / 271 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.008555, allocations: 40.73 kB / 271.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.008887, allocations: 197.3 kB / 271.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.008925, allocations: 20.38 kB / 271.3 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.008958, allocations: 12.38 kB / 271.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.01023, allocations: 0.6278 MB / 271.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.01024, allocations: 4.172 kB / 271.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.01027, allocations: 8.375 kB / 271.9 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.01031, allocations: 15.94 kB / 271.9 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.01075, allocations: 187.8 kB / 272.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.01121, allocations: 270.1 kB / 272.4 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.01171, allocations: 219.7 kB / 272.6 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.01202, allocations: 142.6 kB / 272.7 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.01206, allocations: 8 kB / 272.8 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.0121, allocations: 42.48 kB / 272.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 1.903e-06/0.0121, allocations: 0 / 272.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.001054/0.01316, allocations: 441.9 kB / 273.2 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.0133, allocations: 138.8 kB / 273.4 MB, free: 480 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.0135, allocations: 175.2 kB / 273.5 MB, free: 296 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.01353, allocations: 29.7 kB / 273.6 MB, free: 260 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.01361, allocations: 105.1 kB / 273.7 MB, free: 152 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.01366, allocations: 35.73 kB / 273.7 MB, free: 116 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.01374, allocations: 45.94 kB / 273.7 MB, free: 60 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.01394, allocations: 326.8 kB / 274.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.01405, allocations: 48.44 kB / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.01426, allocations: 141 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.01455, allocations: 187.8 kB / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01455, allocations: 0 / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004312/0.01498, allocations: 233.6 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.015, allocations: 11.94 kB / 274.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.01501, allocations: 4 kB / 274.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.01504, allocations: 7.984 kB / 274.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.0152, allocations: 35.92 kB / 274.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01521, allocations: 8 kB / 274.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.01531, allocations: 11.95 kB / 274.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.01532, allocations: 8 kB / 274.7 MB, free: 14.96 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 0.0002001/0.01552, allocations: 165.8 kB / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006366/0.01616, allocations: 313.3 kB / 275.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.091e-05/0.01625, allocations: 30.66 kB / 275.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.01626, allocations: 8 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.01627, allocations: 4 kB / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.01628, allocations: 3.984 kB / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.01651, allocations: 153.2 kB / 275.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01651, allocations: 0 / 275.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.0168, allocations: 59.91 kB / 275.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.01681, allocations: 4 kB / 275.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.01684, allocations: 15.92 kB / 275.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01684, allocations: 4 kB / 275.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01684, allocations: 0 / 275.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007717/0.01761, allocations: 458 kB / 275.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.01774, allocations: 59.7 kB / 276 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.01781, allocations: 23.92 kB / 276 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.01798, allocations: 15.98 kB / 276 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.01801, allocations: 4 kB / 276 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.01804, allocations: 8 kB / 276 MB, free: 13.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.01817, allocations: 135.2 kB / 276.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01817, allocations: 0 / 276.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.0185, allocations: 44 kB / 276.2 MB, free: 13.41 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 0.0001651/0.01867, allocations: 107.2 kB / 276.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006265/0.01929, allocations: 208.5 kB / 276.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0193, allocations: 0 / 276.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.01934, allocations: 16.05 kB / 276.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.0201, allocations: 207.5 kB / 276.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.02178, allocations: 0.55 MB / 277.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.02199, allocations: 161.7 kB / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.052e-05/0.02204, allocations: 14.03 kB / 277.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.02212, allocations: 28.48 kB / 277.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02212, allocations: 4 kB / 277.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Templates: time 0.006839/0.02896, allocations: 2.587 MB / 280.1 MB, free: 9.504 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=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: 4.404284826014191]