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.00155/0.00155, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001418/0.001418, allocations: 160.5 kB / 24.56 MB, free: 8 kB / 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 1.042/1.042, allocations: 177 MB / 204.8 MB, free: 5.172 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.423e-06/1.423e-06, allocations: 0 / 272.9 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.944e-05, allocations: 5.266 kB / 272.9 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.00251/0.00253, allocations: 1.805 MB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003674, allocations: 0.6698 MB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.003807, allocations: 7.938 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.004017, allocations: 19.8 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.004279, allocations: 47.58 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.004694, allocations: 135.6 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.004883, allocations: 151.6 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.00503, allocations: 17.8 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.00526, allocations: 95.72 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.005458, allocations: 95.73 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.00549, allocations: 16 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.005544, allocations: 16 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.005621, allocations: 67.8 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.005692, allocations: 55.81 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.005939, allocations: 167.3 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005942, allocations: 4 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005942, allocations: 0 / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.005948, allocations: 0 / 276.3 MB, free: 13.88 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.0007421/0.00669, allocations: 0.5347 MB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.006738, allocations: 15.98 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.006903, allocations: 44.75 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.00719, allocations: 216.1 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.007224, allocations: 12.38 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.00725, allocations: 16.38 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.007905, allocations: 478 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.007917, allocations: 4.188 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.007936, allocations: 8.375 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.007972, allocations: 15.92 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.008128, allocations: 87.91 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.008532, allocations: 338.9 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.008846, allocations: 185 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.008986, allocations: 91.59 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.009031, allocations: 11.98 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.009078, allocations: 45.33 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 2.083e-06/0.00908, allocations: 7.938 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005077/0.009588, allocations: 273.4 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.009704, allocations: 138.8 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.009871, allocations: 217.9 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.009891, allocations: 29.7 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.009978, allocations: 147.9 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.01004, allocations: 43.88 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.01011, allocations: 51.55 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.01029, allocations: 0.5001 MB / 279.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-05/0.01033, allocations: 24.45 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.01044, allocations: 164.6 kB / 279.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.01058, allocations: 187.4 kB / 280.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01059, allocations: 4 kB / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001953/0.01078, allocations: 177.6 kB / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.0108, allocations: 16.03 kB / 280.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01081, allocations: 0 / 280.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.01083, allocations: 8 kB / 280.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01094, allocations: 31.92 kB / 280.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.01095, allocations: 4 kB / 280.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.01101, allocations: 19.94 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.01102, allocations: 15.98 kB / 280.4 MB, free: 9.391 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.0001163/0.01114, allocations: 180.5 kB / 280.5 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.01139, allocations: 222.7 kB / 280.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.01145, allocations: 34.64 kB / 280.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.01145, allocations: 7.938 kB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.01146, allocations: 4 kB / 280.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01146, allocations: 0 / 280.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.01161, allocations: 160.5 kB / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01161, allocations: 0 / 281 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.01176, allocations: 67.89 kB / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01176, allocations: 4 kB / 281 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01178, allocations: 7.938 kB / 281 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.01178, allocations: 7.938 kB / 281.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01178, allocations: 4 kB / 281.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.01212, allocations: 407 kB / 281.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.0122, allocations: 51.77 kB / 281.5 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.01224, allocations: 19.92 kB / 281.5 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.0123, allocations: 8 kB / 281.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01234, allocations: 7.984 kB / 281.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01235, allocations: 12 kB / 281.6 MB, free: 8.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.725e-05/0.01243, allocations: 160.2 kB / 281.7 MB, free: 7.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01243, allocations: 0 / 281.7 MB, free: 7.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.01264, allocations: 40 kB / 281.7 MB, free: 7.93 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.0001275/0.01276, allocations: 119.2 kB / 281.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.01304, allocations: 147.9 kB / 282 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01304, allocations: 0 / 282 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.01306, allocations: 12.56 kB / 282 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.01353, allocations: 155.8 kB / 282.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.01462, allocations: 0.4941 MB / 282.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.161e-05/0.0147, allocations: 112.8 kB / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.356e-05/0.01474, allocations: 13.95 kB / 282.8 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.01479, allocations: 24.5 kB / 282.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01479, allocations: 0 / 282.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of Templates: time 0.004845/0.01964, allocations: 2.586 MB / 285.4 MB, free: 4.23 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: 3.191423024982214]