Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002051/0.002051, allocations: 178.1 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007351/0.0007352, allocations: 90.38 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002467/0.0002467, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2678, allocations: 47.58 MB / 376.6 MB, free: 45.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001637/0.2695, allocations: 1.482 MB / 378.1 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004945/0.2744, allocations: 5.603 MB / 383.7 MB, free: 39.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2745, allocations: 9.125 kB / 383.7 MB, free: 39.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.2749, allocations: 108.2 kB / 383.8 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.275, allocations: 28.22 kB / 383.8 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.2776, allocations: 1.413 MB / 385.2 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.2779, allocations: 285.1 kB / 385.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.278, allocations: 30.06 kB / 385.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2781, allocations: 96.3 kB / 385.6 MB, free: 38.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.2782, allocations: 98.3 kB / 385.7 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.2783, allocations: 5.469 kB / 385.7 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.2785, allocations: 122.8 kB / 385.9 MB, free: 38.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.2786, allocations: 67.94 kB / 385.9 MB, free: 38.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.2787, allocations: 116.6 kB / 386 MB, free: 38.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.279, allocations: 322.5 kB / 386.3 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.279, allocations: 1.312 kB / 386.3 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.279, allocations: 0 / 386.3 MB, free: 37.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.279, allocations: 0 / 386.3 MB, free: 37.91 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006084/0.2796, allocations: 0.5416 MB / 386.9 MB, free: 37.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2797, allocations: 9.656 kB / 386.9 MB, free: 37.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.2797, allocations: 31.12 kB / 386.9 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.28, allocations: 277.7 kB / 387.2 MB, free: 37.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.28, allocations: 14.48 kB / 387.2 MB, free: 37.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.28, allocations: 17.19 kB / 387.2 MB, free: 37.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.2803, allocations: 208.6 kB / 387.4 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2803, allocations: 0 / 387.4 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.2803, allocations: 6.031 kB / 387.4 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2804, allocations: 3.094 kB / 387.4 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2805, allocations: 104.8 kB / 387.5 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.2812, allocations: 497.3 kB / 388 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.2815, allocations: 163.8 kB / 388.2 MB, free: 36.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.2816, allocations: 64.81 kB / 388.3 MB, free: 36.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.2816, allocations: 4 kB / 388.3 MB, free: 36.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2816, allocations: 34.56 kB / 388.3 MB, free: 36.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.2816, allocations: 0 / 388.3 MB, free: 36.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003562/0.282, allocations: 233.4 kB / 388.5 MB, free: 35.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.282, allocations: 290.7 kB / 388.8 MB, free: 35.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.2822, allocations: 284.4 kB / 389.1 MB, free: 35.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2822, allocations: 29.7 kB / 389.1 MB, free: 35.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.2823, allocations: 156.5 kB / 389.3 MB, free: 35.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2823, allocations: 47.27 kB / 389.3 MB, free: 35.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.2824, allocations: 0 / 389.3 MB, free: 35.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.2824, allocations: 342.8 kB / 389.6 MB, free: 34.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.2826, allocations: 103.9 kB / 389.7 MB, free: 34.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.2827, allocations: 181.5 kB / 389.9 MB, free: 34.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.283, allocations: 210.1 kB / 390.1 MB, free: 34.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.283, allocations: 0 / 390.1 MB, free: 34.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003505/0.2834, allocations: 313.4 kB / 390.4 MB, free: 33.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.2834, allocations: 4 kB / 390.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.2834, allocations: 4 kB / 390.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2834, allocations: 4 kB / 390.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.2837, allocations: 51.91 kB / 390.5 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2837, allocations: 0 / 390.5 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.2838, allocations: 31.7 kB / 390.5 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.2838, allocations: 8 kB / 390.5 MB, free: 33.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 8.96e-05/0.2839, allocations: 149.8 kB / 390.7 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.2839, allocations: 31.61 kB / 390.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.284, allocations: 21.98 kB / 390.7 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.284, allocations: 8.109 kB / 390.7 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.284, allocations: 3.938 kB / 390.7 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.284, allocations: 7.922 kB / 390.8 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.2842, allocations: 261.5 kB / 391 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2842, allocations: 0 / 391 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2844, allocations: 23.98 kB / 391 MB, free: 33.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2844, allocations: 0 / 391 MB, free: 33.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2844, allocations: 11.98 kB / 391 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2844, allocations: 0 / 391 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2844, allocations: 0 / 391 MB, free: 33.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.2847, allocations: 349 kB / 391.4 MB, free: 32.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.2848, allocations: 100.8 kB / 391.5 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.2848, allocations: 8.062 kB / 391.5 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2849, allocations: 11.98 kB / 391.5 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.285, allocations: 15.92 kB / 391.5 MB, free: 32.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.285, allocations: 4 kB / 391.5 MB, free: 32.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2851, allocations: 191.1 kB / 391.7 MB, free: 32.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2851, allocations: 0 / 391.7 MB, free: 32.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.2854, allocations: 80 kB / 391.8 MB, free: 32.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001969/0.2856, allocations: 155.1 kB / 391.9 MB, free: 32.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.286, allocations: 280.9 kB / 392.2 MB, free: 32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.286, allocations: 0 / 392.2 MB, free: 32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.2861, allocations: 67.91 kB / 392.3 MB, free: 31.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.2865, allocations: 80.48 kB / 392.4 MB, free: 31.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.2872, allocations: 0.636 MB / 393 MB, free: 31.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.2874, allocations: 0.7755 MB / 393.8 MB, free: 30.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2875, allocations: 37.92 kB / 393.8 MB, free: 30.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.2876, allocations: 23.44 kB / 393.8 MB, free: 30.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2876, allocations: 0 / 393.8 MB, free: 30.33 MB / 298.7 MB Notification: Performance of Templates: time 0.005555/0.2931, allocations: 3.58 MB / 397.4 MB, free: 26.77 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches