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.001512/0.001512, allocations: 111.9 kB / 17.06 MB, free: 5.996 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.001769/0.00177, allocations: 200 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.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009881/0.0009882, allocations: 43.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2746, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002992/0.2776, allocations: 1.835 MB / 402.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005748/0.2834, allocations: 3.505 MB / 406 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.2836, allocations: 3.938 kB / 406.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.2841, allocations: 135.3 kB / 406.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.2843, allocations: 31.72 kB / 406.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.2884, allocations: 1.795 MB / 408 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.2888, allocations: 295.2 kB / 408.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2889, allocations: 36.72 kB / 408.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.289, allocations: 115.5 kB / 408.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.2892, allocations: 107.4 kB / 408.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.2892, allocations: 12 kB / 408.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.2895, allocations: 147.7 kB / 408.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2896, allocations: 63.81 kB / 408.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.2897, allocations: 103.3 kB / 408.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.2901, allocations: 338.8 kB / 409.2 MB, free: 376 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2901, allocations: 0 / 409.2 MB, free: 376 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2901, allocations: 4 kB / 409.2 MB, free: 372 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.2902, allocations: 0 / 409.2 MB, free: 372 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.0009255/0.2911, allocations: 0.5802 MB / 409.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2911, allocations: 8.031 kB / 409.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.2912, allocations: 32.56 kB / 409.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.2916, allocations: 284 kB / 410.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2916, allocations: 8 kB / 410.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.2917, allocations: 23.92 kB / 410.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.292, allocations: 202.1 kB / 410.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.292, allocations: 0 / 410.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.292, allocations: 8 kB / 410.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.292, allocations: 7.938 kB / 410.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.2922, allocations: 83.94 kB / 410.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.293, allocations: 488.3 kB / 410.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2933, allocations: 166.4 kB / 411.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2934, allocations: 60.83 kB / 411.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2934, allocations: 7.984 kB / 411.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2934, allocations: 38.56 kB / 411.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2934, allocations: 0 / 411.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004388/0.2939, allocations: 217.4 kB / 411.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.294, allocations: 290.7 kB / 411.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.2943, allocations: 288.5 kB / 412 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2943, allocations: 25.7 kB / 412 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2944, allocations: 160.5 kB / 412.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.2945, allocations: 43.27 kB / 412.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.2946, allocations: 65.69 kB / 412.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2947, allocations: 334.8 kB / 412.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2948, allocations: 103.9 kB / 412.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.2951, allocations: 180.5 kB / 412.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.2954, allocations: 205.5 kB / 413 MB, free: 12.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2954, allocations: 0 / 413 MB, free: 12.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004572/0.2958, allocations: 301.2 kB / 413.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2959, allocations: 10.66 kB / 413.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.2959, allocations: 7.984 kB / 413.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2959, allocations: 11.88 kB / 413.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.2962, allocations: 47.97 kB / 413.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2962, allocations: 0 / 413.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.912e-05/0.2963, allocations: 23.78 kB / 413.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.2963, allocations: 11.98 kB / 413.5 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.0001217/0.2965, allocations: 149.7 kB / 413.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.2965, allocations: 27.62 kB / 413.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.2966, allocations: 33.97 kB / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2966, allocations: 3.938 kB / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2966, allocations: 4 kB / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2966, allocations: 96 / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.2969, allocations: 269.5 kB / 413.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2969, allocations: 0 / 413.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2971, allocations: 23.98 kB / 414 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2971, allocations: 0 / 414 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.2971, allocations: 12.11 kB / 414 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2971, allocations: 7.875 kB / 414 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2971, allocations: 0 / 414 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.2975, allocations: 339 kB / 414.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.2976, allocations: 104.8 kB / 414.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.2977, allocations: 8.062 kB / 414.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2978, allocations: 11.92 kB / 414.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.2978, allocations: 8 kB / 414.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2979, allocations: 4 kB / 414.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.298, allocations: 199.1 kB / 414.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.298, allocations: 0 / 414.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.2984, allocations: 83.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.000225/0.2986, allocations: 143.1 kB / 414.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.2991, allocations: 276.9 kB / 415.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2991, allocations: 0 / 415.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.2992, allocations: 71.83 kB / 415.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2997, allocations: 74.73 kB / 415.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.3006, allocations: 0.54 MB / 415.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3009, allocations: 0.7751 MB / 416.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.301, allocations: 46.03 kB / 416.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.3011, allocations: 19.44 kB / 416.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3011, allocations: 4 kB / 416.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of Templates: time 0.007436/0.3086, allocations: 3.771 MB / 420.4 MB, free: 4.652 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