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.0008463/0.0008463, allocations: 96.72 kB / 17.31 MB, free: 6.109 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.001029/0.001029, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.243/1.243, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002195/0.0002196, allocations: 8.906 kB / 302.1 MB, free: 5.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07091/0.07114, allocations: 50.41 MB / 352.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001572/0.07273, allocations: 1.53 MB / 354 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.0778, allocations: 3.828 MB / 357.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.07793, allocations: 7.938 kB / 357.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.07825, allocations: 115.5 kB / 358 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.07835, allocations: 27.72 kB / 358 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.08128, allocations: 1.394 MB / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.08159, allocations: 283.1 kB / 359.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.0817, allocations: 29.03 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.08184, allocations: 107.5 kB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.08198, allocations: 99.41 kB / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.08201, allocations: 8 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.08224, allocations: 123.8 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.08234, allocations: 63.81 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.08244, allocations: 128.9 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.0827, allocations: 239.5 kB / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.08271, allocations: 0 / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.08272, allocations: 3.938 kB / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.08273, allocations: 0 / 360.4 MB, free: 11.52 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.0006354/0.08337, allocations: 0.5297 MB / 361 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.08341, allocations: 16.88 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.08347, allocations: 32.56 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.08376, allocations: 284.1 kB / 361.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.08378, allocations: 15.92 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.08382, allocations: 16 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.08412, allocations: 213.1 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.08414, allocations: 0 / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.08416, allocations: 0 / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.08417, allocations: 7.938 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.08436, allocations: 87.94 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/0.08507, allocations: 492.5 kB / 362.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.08536, allocations: 174.5 kB / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.08547, allocations: 60.86 kB / 362.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.08549, allocations: 4 kB / 362.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.08552, allocations: 38.55 kB / 362.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.08553, allocations: 0 / 362.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004278/0.08596, allocations: 229.3 kB / 362.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.08607, allocations: 286.8 kB / 362.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.08631, allocations: 288.4 kB / 363.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.08635, allocations: 33.7 kB / 363.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.08645, allocations: 152.4 kB / 363.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.08649, allocations: 51.3 kB / 363.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.08655, allocations: 41.67 kB / 363.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.08665, allocations: 334.8 kB / 363.8 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.08683, allocations: 103.9 kB / 363.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.08705, allocations: 181 kB / 364 MB, free: 7.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.08738, allocations: 217.2 kB / 364.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.08739, allocations: 0 / 364.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004421/0.08784, allocations: 313.4 kB / 364.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.08786, allocations: 4 kB / 364.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.08788, allocations: 7.984 kB / 364.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.0879, allocations: 0 / 364.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.08816, allocations: 51.91 kB / 364.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.08818, allocations: 4 kB / 364.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.08829, allocations: 31.67 kB / 364.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.08832, allocations: 8 kB / 364.7 MB, free: 6.949 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.0001171/0.08844, allocations: 149.7 kB / 364.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.0885, allocations: 23.72 kB / 364.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.08856, allocations: 29.97 kB / 364.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.08857, allocations: 3.938 kB / 364.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.08858, allocations: 0 / 364.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.08859, allocations: 8 kB / 364.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.08885, allocations: 269.6 kB / 365.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.08887, allocations: 3.938 kB / 365.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.08905, allocations: 31.92 kB / 365.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.08906, allocations: 0 / 365.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.08908, allocations: 7.984 kB / 365.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.08909, allocations: 3.938 kB / 365.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.08909, allocations: 0 / 365.2 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.08952, allocations: 343.1 kB / 365.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.08959, allocations: 100.7 kB / 365.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.08962, allocations: 4 kB / 365.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.08977, allocations: 19.98 kB / 365.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.08981, allocations: 7.984 kB / 365.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.08982, allocations: 7.938 kB / 365.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.08999, allocations: 207 kB / 365.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08999, allocations: 0 / 365.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.09031, allocations: 68 kB / 365.9 MB, free: 5.59 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.0001965/0.09052, allocations: 141.7 kB / 366.1 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.09091, allocations: 288.9 kB / 366.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.09093, allocations: 4 kB / 366.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.09105, allocations: 63.91 kB / 366.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.09153, allocations: 78.44 kB / 366.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.09244, allocations: 0.669 MB / 367.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.09272, allocations: 0.7638 MB / 367.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.09279, allocations: 27.44 kB / 368 MB, free: 3.488 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09279, allocations: 0 / 368 MB, free: 3.488 MB / 302.1 MB Notification: Performance of Templates: time 0.1289/0.2217, allocations: 3.839 MB / 371.8 MB, free: 24.31 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