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.001415/0.001415, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001084/0.001084, allocations: 164.8 kB / 25.61 MB, free: 8.891 MB / 18.57 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.9316/0.9316, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.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.533e-06/1.533e-06, allocations: 0 / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.756e-05, allocations: 8.641 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.005875/0.005902, allocations: 1.774 MB / 276 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.007022, allocations: 0.661 MB / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.007139, allocations: 7.938 kB / 276.7 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.007299, allocations: 19.8 kB / 276.7 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.007504, allocations: 48.8 kB / 276.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.011, allocations: 140.8 kB / 276.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.01122, allocations: 147.5 kB / 277 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.01134, allocations: 22.53 kB / 277 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.01156, allocations: 99.72 kB / 277.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.01176, allocations: 95.8 kB / 277.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.01179, allocations: 16 kB / 277.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.01185, allocations: 16 kB / 277.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.01192, allocations: 63.75 kB / 277.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.01198, allocations: 55.81 kB / 277.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.01225, allocations: 175.3 kB / 277.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01225, allocations: 0 / 277.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01225, allocations: 0 / 277.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.01226, allocations: 0 / 277.5 MB, free: 1.082 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.0006304/0.01289, allocations: 0.5308 MB / 278.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.01292, allocations: 8.031 kB / 278.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.01309, allocations: 52.73 kB / 278.1 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.01333, allocations: 192.2 kB / 278.3 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.01336, allocations: 16.38 kB / 278.3 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.01338, allocations: 20.38 kB / 278.3 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.01698, allocations: 453.9 kB / 278.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.01699, allocations: 192 / 278.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.01701, allocations: 4.375 kB / 278.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.01705, allocations: 19.92 kB / 278.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.01717, allocations: 68.67 kB / 278.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.01749, allocations: 307.5 kB / 279.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.01772, allocations: 161.2 kB / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.01782, allocations: 83.22 kB / 279.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.01785, allocations: 15.94 kB / 279.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.01788, allocations: 49.3 kB / 279.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.01788, allocations: 0 / 279.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004233/0.01831, allocations: 257.8 kB / 279.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.0184, allocations: 138.8 kB / 279.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01852, allocations: 214 kB / 280.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01854, allocations: 37.7 kB / 280.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.01861, allocations: 147.8 kB / 280.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.01865, allocations: 39.7 kB / 280.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.01871, allocations: 51.58 kB / 280.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.01885, allocations: 0.5001 MB / 280.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.01888, allocations: 16.45 kB / 280.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.01898, allocations: 152.5 kB / 281 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.01912, allocations: 183.4 kB / 281.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01913, allocations: 0 / 281.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002065/0.01933, allocations: 177.2 kB / 281.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01935, allocations: 8 kB / 281.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.01936, allocations: 11.92 kB / 281.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01937, allocations: 4 kB / 281.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01949, allocations: 36.36 kB / 281.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01949, allocations: 8 kB / 281.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.0226, allocations: 12 kB / 281.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.02261, allocations: 8 kB / 281.5 MB, free: 12.77 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.0001601/0.02277, allocations: 181.9 kB / 281.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.02306, allocations: 202.4 kB / 281.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.02312, allocations: 34.59 kB / 281.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.02313, allocations: 12 kB / 281.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.02313, allocations: 0 / 281.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.02314, allocations: 3.984 kB / 281.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.02331, allocations: 145.1 kB / 282 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02331, allocations: 3.938 kB / 282 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.02351, allocations: 55.91 kB / 282.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.02351, allocations: 4 kB / 282.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.02353, allocations: 15.98 kB / 282.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.02354, allocations: 3.938 kB / 282.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.02354, allocations: 3.938 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.02366, allocations: 207.3 kB / 282.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.02375, allocations: 47.75 kB / 282.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.0238, allocations: 16 kB / 282.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.02389, allocations: 16.02 kB / 282.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.02392, allocations: 3.938 kB / 282.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.02393, allocations: 12 kB / 282.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.02401, allocations: 164.7 kB / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02401, allocations: 0 / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.0243, allocations: 40 kB / 282.6 MB, free: 11.55 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.0001293/0.02443, allocations: 107.7 kB / 282.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.02465, allocations: 145 kB / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02466, allocations: 0 / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.02467, allocations: 7.688 kB / 282.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.02515, allocations: 139.6 kB / 283 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.02922, allocations: 475.5 kB / 283.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.02931, allocations: 120.8 kB / 283.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.02935, allocations: 9.953 kB / 283.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.02947, allocations: 110.2 kB / 283.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02947, allocations: 0 / 283.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Templates: time 0.01172/0.04119, allocations: 2.765 MB / 286.5 MB, free: 7.648 MB / 266.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 -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.6720571131445467]