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.001498/0.001498, allocations: 112.6 kB / 17.06 MB, free: 6.09 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.001461/0.001461, allocations: 199 kB / 18 MB, free: 5.168 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.486/1.486, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 51.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3347, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.00494/0.3397, allocations: 1.76 MB / 402.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3415, allocations: 0.6077 MB / 403.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.3417, allocations: 11.88 kB / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.342, allocations: 11.86 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.3424, allocations: 43.72 kB / 403.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.3429, allocations: 119.7 kB / 403.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.3432, allocations: 155.6 kB / 403.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.3434, allocations: 25.55 kB / 403.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.3436, allocations: 79.69 kB / 403.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.3439, allocations: 107.6 kB / 403.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.3439, allocations: 16 kB / 403.7 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.834e-05/0.3439, allocations: 12 kB / 403.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3441, allocations: 71.81 kB / 403.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3442, allocations: 83.47 kB / 403.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.3445, allocations: 216.5 kB / 404 MB, free: 5.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3445, allocations: 3.938 kB / 404 MB, free: 5.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3445, allocations: 0 / 404 MB, free: 5.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3445, allocations: 4 kB / 404 MB, free: 5.543 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.0009091/0.3454, allocations: 0.4946 MB / 404.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3455, allocations: 15.89 kB / 404.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.3456, allocations: 28.59 kB / 404.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.3459, allocations: 255.9 kB / 404.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.3459, allocations: 20.36 kB / 404.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.346, allocations: 12.38 kB / 404.9 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.347, allocations: 0.6421 MB / 405.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3471, allocations: 0 / 405.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3471, allocations: 7.938 kB / 405.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.3471, allocations: 12 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.3475, allocations: 183.8 kB / 405.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.348, allocations: 374.2 kB / 406.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.3485, allocations: 239.6 kB / 406.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.3487, allocations: 158.6 kB / 406.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.3488, allocations: 8.5 kB / 406.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3488, allocations: 38.56 kB / 406.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.483e-06/0.3488, allocations: 0 / 406.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008517/0.3497, allocations: 425.3 kB / 406.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.3498, allocations: 139.6 kB / 407 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.35, allocations: 174.5 kB / 407.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.35, allocations: 37.7 kB / 407.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.3501, allocations: 93.14 kB / 407.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.3501, allocations: 51.67 kB / 407.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.3502, allocations: 78.03 kB / 407.5 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3504, allocations: 334.8 kB / 407.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3505, allocations: 72.83 kB / 407.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.3508, allocations: 322.7 kB / 408.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.3513, allocations: 416.8 kB / 408.6 MB, free: 480 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3513, allocations: 4 kB / 408.6 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005345/0.3518, allocations: 404.9 kB / 409 MB, free: 64 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3518, allocations: 8 kB / 409 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3519, allocations: 8 kB / 409 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3519, allocations: 12.78 kB / 409 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.3522, allocations: 91.83 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.3522, allocations: 19.94 kB / 409.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.3524, allocations: 31.83 kB / 409.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3524, allocations: 24 kB / 409.2 MB, free: 15.87 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.0001668/0.3526, allocations: 179.1 kB / 409.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.353, allocations: 293.2 kB / 409.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.3531, allocations: 38.64 kB / 409.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.3531, allocations: 11.98 kB / 409.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3532, allocations: 4 kB / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3532, allocations: 0 / 409.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.3534, allocations: 249.2 kB / 409.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3534, allocations: 3.938 kB / 409.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.3537, allocations: 63.91 kB / 410 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.3537, allocations: 4 kB / 410 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.3537, allocations: 7.984 kB / 410 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3537, allocations: 7.938 kB / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3537, allocations: 0 / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.3543, allocations: 443.6 kB / 410.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3545, allocations: 124.7 kB / 410.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.3545, allocations: 19.98 kB / 410.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3547, allocations: 11.98 kB / 410.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.3547, allocations: 8 kB / 410.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.3547, allocations: 8 kB / 410.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.3548, allocations: 144.5 kB / 410.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3548, allocations: 0 / 410.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.3552, allocations: 44 kB / 410.8 MB, free: 14.14 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.0001454/0.3554, allocations: 126.7 kB / 410.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.3559, allocations: 288.4 kB / 411.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3559, allocations: 0 / 411.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.3559, allocations: 9.484 kB / 411.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.3566, allocations: 218.4 kB / 411.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3579, allocations: 0.548 MB / 412 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3582, allocations: 0.7761 MB / 412.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.3583, allocations: 26.28 kB / 412.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.3584, allocations: 27.44 kB / 412.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3584, allocations: 0 / 412.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of Templates: time 0.006007/0.3644, allocations: 2.74 MB / 415.6 MB, free: 9.328 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/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