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.001169/0.00117, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001041/0.001041, allocations: 194.9 kB / 18 MB, free: 5.172 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.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 51.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3897, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003104/0.3928, allocations: 1.825 MB / 402.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005962/0.3988, allocations: 3.505 MB / 406 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.399, allocations: 11.94 kB / 406.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.3995, allocations: 131.3 kB / 406.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3997, allocations: 39.64 kB / 406.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.404, allocations: 1.774 MB / 408 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.4045, allocations: 303.2 kB / 408.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4046, allocations: 32.73 kB / 408.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.4048, allocations: 111.5 kB / 408.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.405, allocations: 107.4 kB / 408.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.4051, allocations: 12 kB / 408.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.4054, allocations: 147.7 kB / 408.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4055, allocations: 67.77 kB / 408.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.4056, allocations: 103.3 kB / 408.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.4061, allocations: 334.6 kB / 409.2 MB, free: 408 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4061, allocations: 3.984 kB / 409.2 MB, free: 404 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4061, allocations: 0 / 409.2 MB, free: 404 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4061, allocations: 0 / 409.2 MB, free: 404 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.0008487/0.4069, allocations: 0.5915 MB / 409.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.407, allocations: 8.031 kB / 409.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.4071, allocations: 32.75 kB / 409.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.4075, allocations: 288.2 kB / 410.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4075, allocations: 8 kB / 410.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.4075, allocations: 19.98 kB / 410.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.4078, allocations: 198.1 kB / 410.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4079, allocations: 0 / 410.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.4079, allocations: 8 kB / 410.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4079, allocations: 3.938 kB / 410.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.4081, allocations: 90.31 kB / 410.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.4089, allocations: 492.4 kB / 410.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.4092, allocations: 178.4 kB / 411.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.4093, allocations: 56.83 kB / 411.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.4093, allocations: 8 kB / 411.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4094, allocations: 30.56 kB / 411.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.4094, allocations: 3.984 kB / 411.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004663/0.4098, allocations: 225.5 kB / 411.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.41, allocations: 294.7 kB / 411.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.4103, allocations: 280.5 kB / 412 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.4103, allocations: 29.7 kB / 412 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4104, allocations: 160.5 kB / 412.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.4105, allocations: 55.53 kB / 412.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.4106, allocations: 57.7 kB / 412.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4107, allocations: 342.8 kB / 412.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.4109, allocations: 99.94 kB / 412.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.4111, allocations: 176.5 kB / 412.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.4115, allocations: 205.4 kB / 413.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4115, allocations: 0 / 413.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004577/0.4119, allocations: 305.4 kB / 413.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.412, allocations: 4 kB / 413.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.412, allocations: 7.984 kB / 413.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.412, allocations: 3.938 kB / 413.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.4123, allocations: 59.91 kB / 413.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4123, allocations: 3.984 kB / 413.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.4124, allocations: 23.81 kB / 413.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4125, 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.0001682/0.4126, allocations: 145.8 kB / 413.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.4127, allocations: 31.75 kB / 413.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.4128, allocations: 33.97 kB / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.4128, allocations: 3.938 kB / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4128, allocations: 4 kB / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4128, allocations: 112 / 413.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.4131, allocations: 269.4 kB / 414 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4131, allocations: 0 / 414 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4133, allocations: 27.98 kB / 414 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4133, allocations: 0 / 414 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4134, allocations: 0 / 414 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.4134, allocations: 15.92 kB / 414 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4134, allocations: 0 / 414 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.4139, allocations: 339.2 kB / 414.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.414, allocations: 104.9 kB / 414.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.414, allocations: 4 kB / 414.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4141, allocations: 15.98 kB / 414.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.4142, allocations: 7.984 kB / 414.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4142, allocations: 4 kB / 414.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.4144, allocations: 195.1 kB / 414.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4144, allocations: 0 / 414.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.4148, allocations: 83.84 kB / 414.7 MB, free: 10.42 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.0003167/0.4151, allocations: 139.2 kB / 414.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.4156, allocations: 284.9 kB / 415.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4156, allocations: 96 / 415.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.4157, allocations: 63.84 kB / 415.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.4162, allocations: 74.38 kB / 415.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.4173, allocations: 0.547 MB / 415.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4177, allocations: 0.7751 MB / 416.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.4178, allocations: 42.03 kB / 416.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.4179, allocations: 27.38 kB / 416.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4179, allocations: 0 / 416.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of Templates: time 0.007563/0.4255, allocations: 3.787 MB / 420.5 MB, free: 4.637 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