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.001553/0.001553, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.001765/0.001765, allocations: 197.3 kB / 18.21 MB, free: 5.406 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.339/1.339, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 46.92 kB / 300.8 MB, free: 6.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08696, allocations: 49.44 MB / 350.2 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003169/0.09017, allocations: 1.869 MB / 352.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005317/0.09552, allocations: 3.558 MB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.09575, allocations: 11.88 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.09626, allocations: 119.5 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.09642, allocations: 31.72 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.1003, allocations: 1.605 MB / 357.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.1008, allocations: 299.2 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1009, allocations: 24.75 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1011, allocations: 115.5 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1013, allocations: 115.4 kB / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.1013, allocations: 12 kB / 358 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1016, allocations: 143.7 kB / 358.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1017, allocations: 71.73 kB / 358.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1018, allocations: 99.34 kB / 358.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.1022, allocations: 247.4 kB / 358.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1022, allocations: 0 / 358.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1022, allocations: 0 / 358.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1022, allocations: 0 / 358.5 MB, free: 12.42 MB / 302.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.0008351/0.103, allocations: 0.5841 MB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1031, allocations: 8.031 kB / 359.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.8e-05/0.1032, allocations: 28.66 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1035, allocations: 288.1 kB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1035, allocations: 15.94 kB / 359.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.1036, allocations: 15.94 kB / 359.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.1039, allocations: 202.1 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1039, allocations: 0 / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.104, allocations: 4 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.104, allocations: 7.938 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.1042, allocations: 87.94 kB / 359.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.105, allocations: 492.5 kB / 360.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.1054, allocations: 162.5 kB / 360.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1055, allocations: 60.83 kB / 360.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1055, allocations: 4.109 kB / 360.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1055, allocations: 46.52 kB / 360.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1055, allocations: 0 / 360.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004583/0.106, allocations: 217.2 kB / 360.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.1062, allocations: 298.6 kB / 361 MB, free: 9.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1064, allocations: 280.6 kB / 361.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1065, allocations: 29.7 kB / 361.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1066, allocations: 160.4 kB / 361.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.1067, allocations: 51.25 kB / 361.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1067, allocations: 57.7 kB / 361.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1069, allocations: 338.8 kB / 361.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.1071, allocations: 99.88 kB / 362 MB, free: 8.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.1073, allocations: 181 kB / 362.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.1076, allocations: 213.2 kB / 362.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1076, allocations: 0 / 362.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004534/0.1081, allocations: 305.5 kB / 362.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1081, allocations: 7.125 kB / 362.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.1082, allocations: 7.984 kB / 362.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1082, allocations: 0 / 362.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.1084, allocations: 51.91 kB / 362.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1085, allocations: 0 / 362.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1086, allocations: 31.67 kB / 362.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.1086, allocations: 7.984 kB / 362.8 MB, free: 7.812 MB / 302.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.0001323/0.1088, allocations: 157.7 kB / 362.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.1088, allocations: 27.7 kB / 363 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.1089, allocations: 29.97 kB / 363 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1089, allocations: 3.938 kB / 363 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1089, allocations: 0 / 363 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1089, allocations: 0 / 363 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.1092, allocations: 269.5 kB / 363.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1092, allocations: 0 / 363.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1094, allocations: 23.92 kB / 363.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1094, allocations: 4 kB / 363.3 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1094, allocations: 4 kB / 363.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.1094, allocations: 11.94 kB / 363.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1094, allocations: 0 / 363.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.1099, allocations: 333.7 kB / 363.6 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.11, allocations: 108.7 kB / 363.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.11, allocations: 8.062 kB / 363.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1102, allocations: 11.94 kB / 363.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1102, allocations: 11.98 kB / 363.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1102, allocations: 4 kB / 363.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1104, allocations: 199.1 kB / 364 MB, free: 6.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1104, allocations: 0 / 364 MB, free: 6.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1108, allocations: 80.06 kB / 364 MB, free: 6.457 MB / 302.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.0002541/0.111, allocations: 147.1 kB / 364.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.1115, allocations: 292.9 kB / 364.5 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1115, allocations: 4 kB / 364.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1116, allocations: 63.89 kB / 364.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.1121, allocations: 76.73 kB / 364.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1132, allocations: 0.6509 MB / 365.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1135, allocations: 0.7675 MB / 366 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.1136, allocations: 23.44 kB / 366.1 MB, free: 4.371 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1136, allocations: 4 kB / 366.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of Templates: time 0.006462/0.12, allocations: 3.875 MB / 369.9 MB, free: 0.4961 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/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