Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 182.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.7 MB / 243.2 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.000925, allocations: 100.2 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002898, allocations: 15.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2465, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001772/0.2483, allocations: 1.437 MB / 406 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.2492, allocations: 0.5591 MB / 406.6 MB, free: 29.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2494, allocations: 9.875 kB / 406.6 MB, free: 29.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.2496, allocations: 15.86 kB / 406.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.2498, allocations: 32.34 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.2503, allocations: 121.1 kB / 406.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.2504, allocations: 139.7 kB / 406.9 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2506, allocations: 41.02 kB / 406.9 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.2508, allocations: 63.77 kB / 407 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.251, allocations: 103.6 kB / 407.1 MB, free: 28.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.2511, allocations: 4 kB / 407.1 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.2511, allocations: 8 kB / 407.1 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.2512, allocations: 52.45 kB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.2513, allocations: 114 kB / 407.3 MB, free: 28.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.2515, allocations: 188.8 kB / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2515, allocations: 1.594 kB / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2515, allocations: 0 / 407.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2515, allocations: 0 / 407.4 MB, free: 28.45 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.0007104/0.2522, allocations: 486.2 kB / 407.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2523, allocations: 8.031 kB / 407.9 MB, free: 27.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.2524, allocations: 24.66 kB / 408 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.2526, allocations: 251.8 kB / 408.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.2526, allocations: 16.33 kB / 408.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.2527, allocations: 18.84 kB / 408.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000875/0.2535, allocations: 0.6303 MB / 408.9 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2536, allocations: 0 / 408.9 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2536, allocations: 8 kB / 408.9 MB, free: 26.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2536, allocations: 12 kB / 408.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.254, allocations: 191.8 kB / 409.1 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.2544, allocations: 374.2 kB / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.2548, allocations: 246.9 kB / 409.7 MB, free: 26.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.255, allocations: 159.1 kB / 409.8 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.255, allocations: 11.94 kB / 409.8 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2551, allocations: 38.55 kB / 409.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.442e-06/0.2551, allocations: 0 / 409.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006895/0.2558, allocations: 425.2 kB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.2558, allocations: 138.8 kB / 410.4 MB, free: 25.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.256, allocations: 171.4 kB / 410.6 MB, free: 25.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.256, allocations: 33.7 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.256, allocations: 101.1 kB / 410.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.2561, allocations: 47.66 kB / 410.8 MB, free: 24.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.2561, allocations: 8 kB / 410.8 MB, free: 24.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.2562, allocations: 334.8 kB / 411.1 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2563, allocations: 76.83 kB / 411.2 MB, free: 24.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.2565, allocations: 322.7 kB / 411.5 MB, free: 24.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.2568, allocations: 416.9 kB / 411.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2568, allocations: 4 kB / 411.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004595/0.2573, allocations: 412.8 kB / 412.3 MB, free: 23.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.2573, allocations: 8 kB / 412.3 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2573, allocations: 12 kB / 412.3 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2574, allocations: 8.781 kB / 412.3 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.2576, allocations: 91.77 kB / 412.4 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.2576, allocations: 12 kB / 412.4 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.2578, allocations: 39.69 kB / 412.5 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.2578, allocations: 31.92 kB / 412.5 MB, free: 22.87 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.0001422/0.2579, allocations: 177.6 kB / 412.7 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.2583, allocations: 285.3 kB / 413 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.2584, allocations: 38.66 kB / 413 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2584, allocations: 11.98 kB / 413 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2584, allocations: 0 / 413 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2585, allocations: 0 / 413 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.2586, allocations: 253.2 kB / 413.3 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2586, allocations: 0 / 413.3 MB, free: 22.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.2589, allocations: 63.91 kB / 413.3 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.2589, allocations: 4 kB / 413.3 MB, free: 21.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2589, allocations: 11.98 kB / 413.3 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.259, allocations: 400 / 413.3 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.259, allocations: 4 kB / 413.3 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.2594, allocations: 443.7 kB / 413.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.2595, allocations: 124.7 kB / 413.9 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.2596, allocations: 23.98 kB / 413.9 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2597, allocations: 19.98 kB / 413.9 MB, free: 21.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.2598, allocations: 4 kB / 413.9 MB, free: 21.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2598, allocations: 8 kB / 414 MB, free: 21.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.2599, allocations: 137.4 kB / 414.1 MB, free: 21.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2599, allocations: 0 / 414.1 MB, free: 21.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.2602, allocations: 44 kB / 414.1 MB, free: 21.14 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.0001228/0.2603, allocations: 119.2 kB / 414.2 MB, free: 21.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004517/0.2608, allocations: 293.3 kB / 414.5 MB, free: 20.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2608, allocations: 0.5625 kB / 414.5 MB, free: 20.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.2608, allocations: 15.98 kB / 414.6 MB, free: 20.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.2615, allocations: 218.5 kB / 414.8 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2626, allocations: 0.6345 MB / 415.4 MB, free: 19.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2628, allocations: 0.7764 MB / 416.2 MB, free: 19.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.2629, allocations: 22.3 kB / 416.2 MB, free: 19.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.263, allocations: 39.36 kB / 416.2 MB, free: 18.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.263, allocations: 0 / 416.2 MB, free: 18.98 MB / 298.7 MB Notification: Performance of Templates: time 0.004784/0.2678, allocations: 2.397 MB / 418.6 MB, free: 16.58 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches