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.001335/0.001335, allocations: 109.8 kB / 17.74 MB, free: 5.34 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.001379/0.001379, allocations: 193.6 kB / 18.67 MB, free: 4.414 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3884, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003868/0.3924, allocations: 1.837 MB / 403.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.3988, allocations: 3.505 MB / 406.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.3991, allocations: 7.938 kB / 406.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.3997, allocations: 127.4 kB / 406.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.4, allocations: 35.66 kB / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005194/0.4052, allocations: 1.785 MB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.4058, allocations: 303.2 kB / 409 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.4059, allocations: 24.75 kB / 409 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.4062, allocations: 123.5 kB / 409.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.4064, allocations: 107.3 kB / 409.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.4065, allocations: 12 kB / 409.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.4068, allocations: 143.7 kB / 409.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.407, allocations: 63.81 kB / 409.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.4071, allocations: 103.3 kB / 409.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.4077, allocations: 334.9 kB / 409.9 MB, free: 396 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4077, allocations: 0 / 409.9 MB, free: 396 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4077, allocations: 0 / 409.9 MB, free: 396 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.4078, allocations: 4 kB / 409.9 MB, free: 392 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.00108/0.4088, allocations: 0.5763 MB / 410.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4089, allocations: 11.97 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.409, allocations: 32.56 kB / 410.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.4095, allocations: 284 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4095, allocations: 8 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.4096, allocations: 27.98 kB / 410.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.41, allocations: 198.1 kB / 411 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.41, allocations: 0 / 411 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.41, allocations: 12 kB / 411 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4101, allocations: 3.938 kB / 411 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.4103, allocations: 87.88 kB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/0.4112, allocations: 488.3 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.4115, allocations: 170.4 kB / 411.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.4116, allocations: 60.81 kB / 411.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.4117, allocations: 4 kB / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.4117, allocations: 34.56 kB / 411.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.4117, allocations: 0 / 411.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004945/0.4122, allocations: 225.3 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.4124, allocations: 294.7 kB / 412.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.4127, allocations: 280.5 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.4127, allocations: 29.7 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.4128, allocations: 160.4 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.4129, allocations: 47.27 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.413, allocations: 61.69 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4132, allocations: 338.8 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.4134, allocations: 99.94 kB / 413.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.4136, allocations: 188.4 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.4139, allocations: 197.5 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.414, allocations: 0 / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004736/0.4144, allocations: 309.2 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4145, allocations: 4 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.4145, allocations: 7.984 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4145, allocations: 7.938 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.4148, allocations: 51.91 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4148, allocations: 0 / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.4149, allocations: 19.78 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.415, allocations: 15.98 kB / 414.1 MB, free: 11.79 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.0001694/0.4152, allocations: 149.7 kB / 414.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.4152, allocations: 27.62 kB / 414.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.4153, allocations: 33.97 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4153, allocations: 3.938 kB / 414.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4153, allocations: 4 kB / 414.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4153, allocations: 0 / 414.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.4156, allocations: 265.5 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4156, allocations: 0 / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.4158, allocations: 23.98 kB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4158, allocations: 0 / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.4159, allocations: 8 kB / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.4159, allocations: 8.047 kB / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4159, allocations: 3.938 kB / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.4164, allocations: 339 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.4164, allocations: 104.8 kB / 415.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4165, allocations: 4 kB / 415.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.4166, allocations: 15.98 kB / 415.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4167, allocations: 8 kB / 415.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4167, allocations: 8 kB / 415.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.4169, allocations: 195.1 kB / 415.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4169, allocations: 0 / 415.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.4173, allocations: 75.89 kB / 415.4 MB, free: 10.44 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.0002809/0.4176, allocations: 147.2 kB / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004754/0.4181, allocations: 273 kB / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4181, allocations: 4.094 kB / 415.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4182, allocations: 67.83 kB / 415.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.4187, allocations: 80.16 kB / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4198, allocations: 0.5884 MB / 416.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4202, allocations: 0.7712 MB / 417.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.4203, allocations: 23.44 kB / 417.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4203, allocations: 0 / 417.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of Templates: time 0.007347/0.4276, allocations: 3.899 MB / 421.2 MB, free: 4.52 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/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