Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009508/0.0009508, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009864/0.0009864, allocations: 160.3 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9515/0.9515, allocations: 177 MB / 205.2 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.057e-05, allocations: 10.25 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002936/0.002957, allocations: 1.79 MB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.004248, allocations: 0.6891 MB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.004366, allocations: 7.938 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.00458, allocations: 19.8 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.004805, allocations: 39.66 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.005257, allocations: 131.5 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.005477, allocations: 151.6 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.005594, allocations: 26.45 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.005799, allocations: 99.7 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.006003, allocations: 87.81 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.006039, allocations: 16 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.383e-05/0.006103, allocations: 23.92 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.006188, allocations: 67.75 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.00625, allocations: 51.83 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.006499, allocations: 171.3 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006501, allocations: 0 / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006502, allocations: 0 / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.006506, allocations: 4 kB / 276.8 MB, free: 13.78 MB / 266.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.0005735/0.007079, allocations: 403.9 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.007117, allocations: 11.98 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.007274, allocations: 36.91 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.00753, allocations: 201.3 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.007556, allocations: 12.38 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.007585, allocations: 20.36 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.008206, allocations: 449.4 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.008216, allocations: 192 / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.008235, allocations: 12.36 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.00827, allocations: 15.94 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.00842, allocations: 74.7 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.008686, allocations: 200.7 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.00891, allocations: 138.5 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.009016, allocations: 67.2 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.009043, allocations: 12 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.009074, allocations: 50.48 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.009076, allocations: 0 / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003271/0.009403, allocations: 205.5 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.009472, allocations: 134.8 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.009545, allocations: 154.6 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.009558, allocations: 29.7 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.009584, allocations: 97.05 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.00961, allocations: 39.72 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.009651, allocations: 49.91 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.009715, allocations: 330.8 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.009731, allocations: 16.41 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.009785, allocations: 108.9 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.526e-05/0.00987, allocations: 142.8 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009873, allocations: 0 / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001153/0.009988, allocations: 145.3 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.009999, allocations: 7.719 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01, allocations: 8 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.01001, allocations: 7.938 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.01009, allocations: 35.92 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.0101, allocations: 7.984 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.01014, allocations: 15.89 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.01015, allocations: 8 kB / 279.9 MB, free: 10.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 7.784e-05/0.01023, allocations: 140.5 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.01036, allocations: 146.6 kB / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.0104, allocations: 42.62 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.0104, allocations: 11.94 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01041, allocations: 0 / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01041, allocations: 4 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.775e-05/0.01051, allocations: 97.75 kB / 280.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.01051, allocations: 7.984 kB / 280.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.01063, allocations: 55.92 kB / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01063, allocations: 0 / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01064, allocations: 15.92 kB / 280.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01064, allocations: 400 / 280.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01065, allocations: 4 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.842e-05/0.0107, allocations: 156.1 kB / 280.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.01076, allocations: 51.69 kB / 280.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.01079, allocations: 16 kB / 280.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.01084, allocations: 8 kB / 280.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.01086, allocations: 7.922 kB / 280.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.01087, allocations: 8 kB / 280.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.863e-05/0.0109, allocations: 49.86 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0109, allocations: 0 / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.01106, allocations: 40 kB / 280.8 MB, free: 9.387 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.758e-05/0.01114, allocations: 96.38 kB / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.01127, allocations: 122.9 kB / 281 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01127, allocations: 0 / 281 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-06/0.01128, allocations: 8.859 kB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01156, allocations: 155.3 kB / 281.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.01225, allocations: 0.502 MB / 281.7 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.01231, allocations: 112.8 kB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.816e-05/0.01234, allocations: 13.95 kB / 281.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.01241, allocations: 83.36 kB / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01242, allocations: 0 / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003878/0.01629, allocations: 2.667 MB / 284.5 MB, free: 5.598 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8483156049624085]