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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 108.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 191 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 47.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.331, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004135/0.3353, allocations: 1.756 MB / 403.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3367, allocations: 0.6116 MB / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.3369, allocations: 11.94 kB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.3372, allocations: 15.8 kB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.3375, allocations: 39.72 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.3379, allocations: 119.7 kB / 404 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.3382, allocations: 155.6 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3384, allocations: 29.55 kB / 404.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3385, allocations: 75.69 kB / 404.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3388, allocations: 107.6 kB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.3388, allocations: 16 kB / 404.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.923e-05/0.3389, allocations: 12 kB / 404.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.339, allocations: 67.81 kB / 404.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3391, allocations: 95.45 kB / 404.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3394, allocations: 212.5 kB / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3394, allocations: 4 kB / 404.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3394, allocations: 3.938 kB / 404.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3394, allocations: 0 / 404.7 MB, free: 5.562 MB / 318.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.0009802/0.3404, allocations: 0.4937 MB / 405.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3405, allocations: 15.89 kB / 405.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.3406, allocations: 28.66 kB / 405.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3409, allocations: 255.9 kB / 405.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.3409, allocations: 16.38 kB / 405.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.341, allocations: 12.38 kB / 405.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.3421, allocations: 0.642 MB / 406.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3421, allocations: 0 / 406.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3421, allocations: 4 kB / 406.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.3422, allocations: 19.98 kB / 406.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.3426, allocations: 179.8 kB / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.3431, allocations: 374.2 kB / 406.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.3435, allocations: 239.7 kB / 407 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.3438, allocations: 162.5 kB / 407.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.3439, allocations: 4.5 kB / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3439, allocations: 38.56 kB / 407.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.3439, allocations: 0 / 407.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008736/0.3448, allocations: 429.3 kB / 407.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.3449, allocations: 143.6 kB / 407.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3451, allocations: 166.4 kB / 407.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.3451, allocations: 33.7 kB / 407.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.3452, allocations: 101.1 kB / 408 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.3453, allocations: 43.53 kB / 408.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/0.3454, allocations: 78.03 kB / 408.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3455, allocations: 334.9 kB / 408.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3457, allocations: 76.81 kB / 408.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.346, allocations: 326.7 kB / 408.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.3464, allocations: 420.8 kB / 409.3 MB, free: 500 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3464, allocations: 4 kB / 409.3 MB, free: 496 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005875/0.347, allocations: 401.4 kB / 409.7 MB, free: 88 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3471, allocations: 12.25 kB / 409.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3471, allocations: 8.312 kB / 409.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/0.3471, allocations: 12 kB / 409.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.3474, allocations: 87.94 kB / 409.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.3474, allocations: 15.94 kB / 409.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3476, allocations: 23.84 kB / 409.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.3476, allocations: 27.98 kB / 409.9 MB, free: 15.9 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.0002294/0.3479, allocations: 191 kB / 410 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004811/0.3484, allocations: 297.2 kB / 410.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/0.3485, allocations: 30.66 kB / 410.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3485, allocations: 7.938 kB / 410.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.3485, allocations: 4 kB / 410.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3485, allocations: 3.984 kB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.3488, allocations: 249.3 kB / 410.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3488, allocations: 3.984 kB / 410.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.349, allocations: 59.91 kB / 410.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3491, allocations: 0 / 410.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3491, allocations: 8 kB / 410.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.3491, allocations: 15.81 kB / 410.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3491, allocations: 0 / 410.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.3497, allocations: 439.6 kB / 411.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.3499, allocations: 128.7 kB / 411.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.3499, allocations: 19.98 kB / 411.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3501, allocations: 15.98 kB / 411.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.3501, allocations: 4 kB / 411.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3502, allocations: 12 kB / 411.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3503, allocations: 136.5 kB / 411.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3503, allocations: 0 / 411.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.3507, allocations: 48 kB / 411.5 MB, free: 14.16 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.0001576/0.3508, allocations: 119.2 kB / 411.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.3514, allocations: 289.2 kB / 411.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3514, allocations: 4.688 kB / 411.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.3515, allocations: 15.92 kB / 411.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006749/0.3521, allocations: 215.1 kB / 412.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3535, allocations: 0.5784 MB / 412.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3539, allocations: 0.784 MB / 413.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.354, allocations: 27.42 kB / 413.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.354, allocations: 0 / 413.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Templates: time 0.005657/0.3596, allocations: 2.937 MB / 416.4 MB, free: 9.145 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches