Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001473, allocations: 200.4 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 101.2 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.00181/0.3286, allocations: 1.446 MB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3298, allocations: 0.8335 MB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.33, allocations: 7.938 kB / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.3301, allocations: 15.92 kB / 414.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.3304, allocations: 31.78 kB / 414.4 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.3308, allocations: 114.3 kB / 414.5 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.331, allocations: 151.6 kB / 414.7 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3311, allocations: 32.53 kB / 414.7 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3313, allocations: 71.69 kB / 414.8 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.3315, allocations: 91.64 kB / 414.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.3316, allocations: 8 kB / 414.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.3316, allocations: 12 kB / 414.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.3317, allocations: 59.8 kB / 414.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.595e-05/0.3318, allocations: 113.2 kB / 415 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.332, allocations: 200.8 kB / 415.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.332, allocations: 0 / 415.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.332, allocations: 0 / 415.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.332, allocations: 0 / 415.2 MB, free: 22.67 MB / 298.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.000633/0.3326, allocations: 474.8 kB / 415.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3327, allocations: 12.03 kB / 415.7 MB, free: 22.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3328, allocations: 40.64 kB / 415.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.3331, allocations: 247.7 kB / 416 MB, free: 21.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.3331, allocations: 20.33 kB / 416 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3331, allocations: 12.38 kB / 416 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.334, allocations: 0.6378 MB / 416.7 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.334, allocations: 0 / 416.7 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.334, allocations: 4 kB / 416.7 MB, free: 21.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.3341, allocations: 12 kB / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.3344, allocations: 195.8 kB / 416.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.3349, allocations: 366.3 kB / 417.2 MB, free: 20.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.3353, allocations: 239.6 kB / 417.5 MB, free: 20.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.3355, allocations: 158.6 kB / 417.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.3355, allocations: 12.12 kB / 417.6 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3356, allocations: 46.48 kB / 417.7 MB, free: 20.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.3356, allocations: 4 kB / 417.7 MB, free: 20.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007526/0.3363, allocations: 421.7 kB / 418.1 MB, free: 19.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.3364, allocations: 130.7 kB / 418.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3365, allocations: 173.9 kB / 418.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3366, allocations: 33.7 kB / 418.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.3366, allocations: 105.2 kB / 418.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3367, allocations: 55.52 kB / 418.6 MB, free: 19.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.3367, allocations: 11.94 kB / 418.6 MB, free: 19.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.932e-05/0.3368, allocations: 330.8 kB / 418.9 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.3369, allocations: 76.81 kB / 419 MB, free: 18.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3371, allocations: 326.7 kB / 419.3 MB, free: 18.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.3374, allocations: 420.8 kB / 419.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3375, allocations: 4 kB / 419.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004633/0.3379, allocations: 404.7 kB / 420.1 MB, free: 17.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.338, allocations: 8.938 kB / 420.1 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.338, allocations: 8 kB / 420.1 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.338, allocations: 12 kB / 420.1 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3382, allocations: 91.83 kB / 420.2 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.3383, allocations: 15.94 kB / 420.2 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3384, allocations: 31.75 kB / 420.3 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3384, allocations: 31.98 kB / 420.3 MB, free: 17.08 MB / 298.7 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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.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.0001439/0.3386, allocations: 171 kB / 420.5 MB, free: 16.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.339, allocations: 297.5 kB / 420.8 MB, free: 16.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.339, allocations: 38.66 kB / 420.8 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3391, allocations: 4 kB / 420.8 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3391, allocations: 7.984 kB / 420.8 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3391, allocations: 0 / 420.8 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3393, allocations: 249.2 kB / 421.1 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3393, allocations: 0 / 421.1 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.3395, allocations: 63.91 kB / 421.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3395, allocations: 4 kB / 421.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3395, allocations: 7.984 kB / 421.1 MB, free: 16.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3395, allocations: 8 kB / 421.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3396, allocations: 4 kB / 421.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.34, allocations: 439.6 kB / 421.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.3401, allocations: 132.7 kB / 421.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.3402, allocations: 19.98 kB / 421.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.3403, allocations: 15.98 kB / 421.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.3403, allocations: 4 kB / 421.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3404, allocations: 12 kB / 421.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.3404, allocations: 126 kB / 421.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3404, allocations: 0 / 421.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.3408, allocations: 52 kB / 421.9 MB, free: 15.36 MB / 298.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.0001325/0.3409, allocations: 123.9 kB / 422 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.3413, allocations: 293.8 kB / 422.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3413, allocations: 4.062 kB / 422.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.3414, allocations: 11.92 kB / 422.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.342, allocations: 230.6 kB / 422.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3431, allocations: 0.6221 MB / 423.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.3433, allocations: 0.7803 MB / 424 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.807e-05/0.3434, allocations: 22.3 kB / 424 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.3435, allocations: 31.42 kB / 424 MB, free: 13.19 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3435, allocations: 0 / 424 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Templates: time 0.004714/0.3482, allocations: 2.402 MB / 426.4 MB, free: 10.79 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches