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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2914, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002994/0.2945, allocations: 1.841 MB / 411.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006028/0.3005, allocations: 3.538 MB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.3007, allocations: 11.88 kB / 414.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.3011, allocations: 127.4 kB / 414.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.3013, allocations: 47.62 kB / 414.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.3056, allocations: 1.773 MB / 416.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.306, allocations: 303.2 kB / 416.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3061, allocations: 40.7 kB / 416.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.3063, allocations: 123.5 kB / 417 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.3065, allocations: 103.4 kB / 417.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.3065, allocations: 12 kB / 417.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.3068, allocations: 151.7 kB / 417.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3069, allocations: 67.77 kB / 417.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.307, allocations: 99.33 kB / 417.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.3074, allocations: 334.9 kB / 417.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3075, allocations: 0 / 417.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3075, allocations: 7.938 kB / 417.8 MB, free: 9.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3075, allocations: 0 / 417.8 MB, free: 9.043 MB / 334.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.00081/0.3083, allocations: 0.5763 MB / 418.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3083, allocations: 8.031 kB / 418.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.3084, allocations: 36.5 kB / 418.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3088, allocations: 280.3 kB / 418.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3088, allocations: 8.562 kB / 418.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.3089, allocations: 19.94 kB / 418.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3092, allocations: 205.4 kB / 418.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3092, allocations: 0 / 418.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3093, allocations: 8 kB / 418.9 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3093, allocations: 3.938 kB / 418.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.3095, allocations: 91.88 kB / 419 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.3102, allocations: 492.5 kB / 419.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3105, allocations: 158.5 kB / 419.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3106, allocations: 56.83 kB / 419.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3107, allocations: 8 kB / 419.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3107, allocations: 38.55 kB / 419.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3107, allocations: 3.938 kB / 419.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004446/0.3112, allocations: 221.3 kB / 420 MB, free: 6.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.3113, allocations: 286.7 kB / 420.3 MB, free: 6.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3116, allocations: 288.4 kB / 420.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3116, allocations: 29.7 kB / 420.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3117, allocations: 164.4 kB / 420.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.3118, allocations: 47.34 kB / 420.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.3119, allocations: 57.7 kB / 420.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.312, allocations: 338.8 kB / 421.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3122, allocations: 99.94 kB / 421.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.3124, allocations: 184.4 kB / 421.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.3128, allocations: 209.5 kB / 421.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3128, allocations: 0 / 421.6 MB, free: 4.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004563/0.3132, allocations: 301.4 kB / 421.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3133, allocations: 8 kB / 421.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.3133, allocations: 3.984 kB / 421.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3133, allocations: 8 kB / 422 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.3136, allocations: 51.91 kB / 422 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.3136, allocations: 0 / 422 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3137, allocations: 35.61 kB / 422 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3137, allocations: 11.98 kB / 422 MB, free: 4.449 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.00013/0.3139, allocations: 146 kB / 422.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.3139, allocations: 27.72 kB / 422.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.314, allocations: 26.08 kB / 422.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.314, allocations: 7.938 kB / 422.3 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.314, allocations: 4 kB / 422.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.314, allocations: 3.938 kB / 422.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3143, allocations: 265.5 kB / 422.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3143, allocations: 0 / 422.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3145, allocations: 23.98 kB / 422.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3145, allocations: 0 / 422.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3145, allocations: 8 kB / 422.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3145, allocations: 0 / 422.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3145, allocations: 0 / 422.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.315, allocations: 342.3 kB / 422.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.315, allocations: 108.7 kB / 423 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3151, allocations: 8.062 kB / 423 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3152, allocations: 11.98 kB / 423 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.3153, allocations: 7.938 kB / 423 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3153, allocations: 4 kB / 423 MB, free: 3.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.3155, allocations: 199.2 kB / 423.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3155, allocations: 3.938 kB / 423.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.3158, allocations: 79.98 kB / 423.3 MB, free: 3.105 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.0002518/0.3161, allocations: 143.1 kB / 423.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.3166, allocations: 284.8 kB / 423.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3166, allocations: 0 / 423.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3167, allocations: 63.95 kB / 423.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.3172, allocations: 71.86 kB / 423.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.3182, allocations: 0.5436 MB / 424.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3186, allocations: 0.7753 MB / 425.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.3187, allocations: 41.91 kB / 425.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.3188, allocations: 23.38 kB / 425.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3188, allocations: 0 / 425.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of Templates: time 0.007764/0.3265, allocations: 3.77 MB / 429 MB, free: 13.35 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches