Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 114.9 kB / 17.06 MB, free: 6 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.001157/0.001158, allocations: 196 kB / 18 MB, free: 5.078 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.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009798/0.0009798, allocations: 47.94 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3427, allocations: 49.42 MB / 400.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003222/0.3459, allocations: 1.842 MB / 402.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006026/0.352, allocations: 3.501 MB / 406.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.3522, allocations: 7.938 kB / 406.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.3527, allocations: 127.4 kB / 406.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.3528, allocations: 35.66 kB / 406.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004271/0.3571, allocations: 1.786 MB / 408 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.3575, allocations: 299.2 kB / 408.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3577, allocations: 28.73 kB / 408.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.3579, allocations: 119.5 kB / 408.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.358, allocations: 115.3 kB / 408.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3581, allocations: 12 kB / 408.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.3583, allocations: 143.7 kB / 408.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3584, allocations: 63.77 kB / 408.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3586, allocations: 103.3 kB / 408.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.359, allocations: 334.9 kB / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.3591, allocations: 0 / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3591, allocations: 0 / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3591, allocations: 0 / 409.2 MB, free: 368 kB / 318.1 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.00107/0.3602, allocations: 0.588 MB / 409.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.3602, allocations: 8.031 kB / 409.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.081e-05/0.3603, allocations: 32.56 kB / 409.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.3609, allocations: 284 kB / 410.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3609, allocations: 8 kB / 410.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.361, allocations: 12 kB / 410.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.3614, allocations: 202.1 kB / 410.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3614, allocations: 0 / 410.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.3615, allocations: 8 kB / 410.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3615, allocations: 7.938 kB / 410.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.3617, allocations: 91.88 kB / 410.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008563/0.3626, allocations: 484.3 kB / 410.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.3629, allocations: 170.2 kB / 411.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.363, allocations: 64.81 kB / 411.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3631, allocations: 4 kB / 411.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3631, allocations: 38.56 kB / 411.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.3631, allocations: 0 / 411.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004736/0.3636, allocations: 221.4 kB / 411.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.3637, allocations: 290.7 kB / 411.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.364, allocations: 284.5 kB / 411.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3641, allocations: 29.7 kB / 412 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3642, allocations: 160.5 kB / 412.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.3642, allocations: 47.27 kB / 412.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.3643, allocations: 57.7 kB / 412.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3644, allocations: 342.8 kB / 412.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3646, allocations: 91.95 kB / 412.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3648, allocations: 184.5 kB / 412.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.3652, allocations: 205.5 kB / 413 MB, free: 12.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3652, allocations: 3.938 kB / 413 MB, free: 12.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004377/0.3656, allocations: 309.2 kB / 413.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3656, allocations: 4 kB / 413.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.3657, allocations: 11.98 kB / 413.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3657, allocations: 3.938 kB / 413.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.366, allocations: 51.91 kB / 413.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.366, allocations: 0 / 413.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3661, allocations: 27.77 kB / 413.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.3661, allocations: 4 kB / 413.4 MB, free: 11.77 MB / 334.1 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 0.0001411/0.3663, allocations: 149.8 kB / 413.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.3663, allocations: 31.56 kB / 413.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.3664, allocations: 33.97 kB / 413.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3664, allocations: 3.938 kB / 413.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3664, allocations: 0 / 413.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3664, allocations: 4 kB / 413.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.3667, allocations: 265.5 kB / 413.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3667, allocations: 4.109 kB / 413.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3669, allocations: 27.92 kB / 414 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3669, allocations: 0 / 414 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.367, allocations: 4 kB / 414 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.367, allocations: 7.938 kB / 414 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.367, allocations: 4 kB / 414 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.3674, allocations: 335 kB / 414.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3675, allocations: 104.8 kB / 414.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3676, allocations: 8.062 kB / 414.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3677, allocations: 11.92 kB / 414.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3677, allocations: 8 kB / 414.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3678, allocations: 11.98 kB / 414.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.3679, allocations: 191.1 kB / 414.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3679, allocations: 0 / 414.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003915/0.3683, allocations: 79.89 kB / 414.7 MB, free: 10.41 MB / 334.1 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.0002895/0.3686, allocations: 147.2 kB / 414.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004969/0.3691, allocations: 272.9 kB / 415.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3692, allocations: 0 / 415.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3693, allocations: 71.89 kB / 415.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.3698, allocations: 85.09 kB / 415.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.371, allocations: 0.5322 MB / 415.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3713, allocations: 0.7751 MB / 416.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.3715, allocations: 46.03 kB / 416.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.3716, allocations: 27.38 kB / 416.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3716, allocations: 0 / 416.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Templates: time 0.008337/0.3799, allocations: 3.764 MB / 420.4 MB, free: 4.648 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches