Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001639, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000982/0.0009821, allocations: 109.1 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009105/0.0009106, allocations: 47.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1894, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002273/0.1917, allocations: 1.892 MB / 408.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.1961, allocations: 3.936 MB / 412.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1963, allocations: 7.875 kB / 412.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1966, allocations: 107.5 kB / 413 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1967, allocations: 35.7 kB / 413 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.1992, allocations: 1.395 MB / 414.4 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1994, allocations: 283.2 kB / 414.7 MB, free: 20.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.1995, allocations: 42.2 kB / 414.7 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.1997, allocations: 111.6 kB / 414.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1998, allocations: 99.41 kB / 414.9 MB, free: 19.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1998, allocations: 8 kB / 414.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.2, allocations: 131.7 kB / 415.1 MB, free: 19.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.2001, allocations: 71.73 kB / 415.1 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.2002, allocations: 91.34 kB / 415.2 MB, free: 19.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.2005, allocations: 330.9 kB / 415.6 MB, free: 19.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2005, allocations: 0 / 415.6 MB, free: 19.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2005, allocations: 4 kB / 415.6 MB, free: 19.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.2005, allocations: 0 / 415.6 MB, free: 19.29 MB / 298.7 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.0006565/0.2011, allocations: 0.5825 MB / 416.1 MB, free: 18.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2012, allocations: 11.97 kB / 416.2 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.2012, allocations: 28.66 kB / 416.2 MB, free: 18.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.2015, allocations: 280.2 kB / 416.5 MB, free: 18.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2015, allocations: 12.56 kB / 416.5 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.2016, allocations: 19.92 kB / 416.5 MB, free: 18.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.2018, allocations: 205.1 kB / 416.7 MB, free: 18.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2018, allocations: 3.938 kB / 416.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2018, allocations: 4 kB / 416.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2019, allocations: 4 kB / 416.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.202, allocations: 91.88 kB / 416.8 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.2027, allocations: 488.5 kB / 417.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.2029, allocations: 162.5 kB / 417.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.203, allocations: 56.83 kB / 417.5 MB, free: 17.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.203, allocations: 8 kB / 417.5 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.2031, allocations: 34.67 kB / 417.5 MB, free: 17.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2031, allocations: 3.938 kB / 417.5 MB, free: 17.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.00037/0.2034, allocations: 225.2 kB / 417.7 MB, free: 16.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.2035, allocations: 286.7 kB / 418 MB, free: 16.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.2037, allocations: 288.4 kB / 418.3 MB, free: 16.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2037, allocations: 29.7 kB / 418.3 MB, free: 16.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.2038, allocations: 164.4 kB / 418.5 MB, free: 16.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.2038, allocations: 43.36 kB / 418.5 MB, free: 16.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.2039, allocations: 65.67 kB / 418.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.204, allocations: 338.8 kB / 418.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.2041, allocations: 95.94 kB / 419 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.2043, allocations: 186 kB / 419.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.2045, allocations: 210 kB / 419.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2045, allocations: 0 / 419.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003928/0.2049, allocations: 301.2 kB / 419.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.205, allocations: 4 kB / 419.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.205, allocations: 4 kB / 419.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.205, allocations: 4 kB / 419.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2053, allocations: 55.89 kB / 419.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2053, allocations: 0 / 419.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.502e-05/0.2054, allocations: 35.61 kB / 419.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.2054, allocations: 4 kB / 419.8 MB, free: 14.7 MB / 298.7 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 8.807e-05/0.2055, allocations: 153.8 kB / 420 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2055, allocations: 23.72 kB / 420 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.2056, allocations: 29.97 kB / 420 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2056, allocations: 4 kB / 420 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2056, allocations: 4 kB / 420 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2056, allocations: 7.938 kB / 420 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.2058, allocations: 269.4 kB / 420.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.2058, allocations: 0 / 420.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.206, allocations: 23.98 kB / 420.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.206, allocations: 0 / 420.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.206, allocations: 4 kB / 420.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.206, allocations: 4 kB / 420.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.206, allocations: 0 / 420.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.2077, allocations: 1.871 MB / 422.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.2078, allocations: 104.7 kB / 422.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.2078, allocations: 12 kB / 422.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2079, allocations: 11.98 kB / 422.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.208, allocations: 8.172 kB / 422.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.208, allocations: 4 kB / 422.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.2081, allocations: 203 kB / 422.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2081, allocations: 0 / 422.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.2085, allocations: 87.92 kB / 422.6 MB, free: 11.68 MB / 298.7 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.0002011/0.2087, allocations: 139.2 kB / 422.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.2091, allocations: 284.9 kB / 423 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2091, allocations: 0 / 423 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.2092, allocations: 63.91 kB / 423.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.2096, allocations: 78.95 kB / 423.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008398/0.2105, allocations: 0.7746 MB / 423.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.2107, allocations: 0.7716 MB / 424.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.2108, allocations: 45.91 kB / 424.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.2108, allocations: 23.44 kB / 424.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2108, allocations: 0 / 424.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of Templates: time 0.005914/0.2168, allocations: 3.889 MB / 428.7 MB, free: 5.547 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches