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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003275/0.2569, allocations: 1.76 MB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2584, allocations: 0.6817 MB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.2586, allocations: 7.938 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.2588, allocations: 15.8 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.2591, allocations: 47.7 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.2596, allocations: 123.7 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.2599, allocations: 163.6 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.26, allocations: 25.55 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.2602, allocations: 79.69 kB / 412.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.2605, allocations: 107.6 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.2605, allocations: 12 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.377e-05/0.2606, allocations: 20 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.2607, allocations: 67.81 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.2608, allocations: 87.47 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2611, allocations: 222.9 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2611, allocations: 0 / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2611, allocations: 7.938 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2611, allocations: 0 / 413.3 MB, free: 14.13 MB / 334.1 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.0008994/0.262, allocations: 0.5076 MB / 413.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2621, allocations: 12.03 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.2623, allocations: 32.64 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.2626, allocations: 259.8 kB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.2626, allocations: 16.36 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.2627, allocations: 20.38 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2638, allocations: 0.6303 MB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2638, allocations: 4 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.2639, allocations: 4 kB / 414.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.2639, allocations: 16 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.2643, allocations: 183.8 kB / 415 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.2648, allocations: 370.2 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.2652, allocations: 243.7 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.2655, allocations: 158.7 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.2655, allocations: 7.984 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2656, allocations: 42.56 kB / 415.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.2656, allocations: 0 / 415.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008747/0.2664, allocations: 425.6 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.2666, allocations: 134.7 kB / 416.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2667, allocations: 170.4 kB / 416.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2668, allocations: 29.7 kB / 416.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.2669, allocations: 105.2 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.2669, allocations: 47.52 kB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.267, allocations: 70.14 kB / 416.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2672, allocations: 342.8 kB / 417.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.2673, allocations: 72.81 kB / 417.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.2676, allocations: 330.7 kB / 417.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.2681, allocations: 416.8 kB / 417.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.2681, allocations: 4 kB / 417.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006121/0.2687, allocations: 409.2 kB / 418.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2687, allocations: 12 kB / 418.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2688, allocations: 8 kB / 418.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.2688, allocations: 12 kB / 418.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.269, allocations: 79.84 kB / 418.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/0.2691, allocations: 19.92 kB / 418.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2693, allocations: 32.25 kB / 418.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2693, allocations: 28 kB / 418.5 MB, free: 8.441 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$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 (52): * Single equations (assignments): 52 * 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.0001953/0.2695, allocations: 186.3 kB / 418.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/0.27, allocations: 302.2 kB / 419 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.2701, allocations: 30.66 kB / 419 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2701, allocations: 4 kB / 419 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2701, allocations: 3.984 kB / 419 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2701, allocations: 3.984 kB / 419 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.2704, allocations: 249.3 kB / 419.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2704, allocations: 4 kB / 419.3 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2707, allocations: 63.89 kB / 419.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.2707, allocations: 4 kB / 419.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2708, allocations: 8 kB / 419.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2708, allocations: 0 / 419.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2708, allocations: 4 kB / 419.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.2714, allocations: 439.6 kB / 419.8 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2715, allocations: 132.7 kB / 419.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.2716, allocations: 19.98 kB / 419.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2717, allocations: 8 kB / 419.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.2718, allocations: 3.984 kB / 419.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.2718, allocations: 12 kB / 420 MB, free: 6.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2719, allocations: 136.2 kB / 420.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 420.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.2724, allocations: 56 kB / 420.1 MB, free: 6.707 MB / 334.1 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.000154/0.2725, allocations: 111.2 kB / 420.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.2731, allocations: 293.5 kB / 420.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2731, allocations: 0 / 420.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.2731, allocations: 11.92 kB / 420.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.2738, allocations: 226.4 kB / 420.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2752, allocations: 0.5753 MB / 421.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.2756, allocations: 0.7761 MB / 422.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.2757, allocations: 31.42 kB / 422.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2757, allocations: 0 / 422.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of Templates: time 0.005673/0.2814, allocations: 2.995 MB / 425.2 MB, free: 1.645 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches