Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001769/0.001769, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002048/0.002048, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.4 MB / 250 MB, free: 8.984 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72.06 kB / 367.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 53.32 MB / 420.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003456/0.2876, allocations: 1.853 MB / 422.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006472/0.294, allocations: 3.565 MB / 426.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.2942, allocations: 7.875 kB / 426.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.2948, allocations: 131.3 kB / 426.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.2949, allocations: 43.66 kB / 426.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004992/0.2999, allocations: 1.683 MB / 427.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006938/0.3006, allocations: 307.2 kB / 428.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.3008, allocations: 16.75 kB / 428.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.3011, allocations: 131.5 kB / 428.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.3013, allocations: 111.4 kB / 428.5 MB, free: 484 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.3014, allocations: 12 kB / 428.5 MB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.3018, allocations: 147.7 kB / 428.6 MB, free: 324 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3019, allocations: 71.7 kB / 428.7 MB, free: 252 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3021, allocations: 103.3 kB / 428.8 MB, free: 148 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.3027, allocations: 338.6 kB / 429.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3028, allocations: 4 kB / 429.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3028, allocations: 4 kB / 429.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.3028, allocations: 3.938 kB / 429.1 MB, free: 15.8 MB / 350.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.00118/0.304, allocations: 0.5799 MB / 429.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.304, allocations: 8.031 kB / 429.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.3041, allocations: 32.75 kB / 429.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.3047, allocations: 288.4 kB / 430.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3047, allocations: 8.562 kB / 430.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.3048, allocations: 23.89 kB / 430.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.3052, allocations: 214 kB / 430.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3052, allocations: 0 / 430.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3052, allocations: 4 kB / 430.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3052, allocations: 3.938 kB / 430.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3054, allocations: 91.88 kB / 430.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008592/0.3063, allocations: 496.5 kB / 430.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.3066, allocations: 164.8 kB / 431 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3067, allocations: 60.81 kB / 431.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3067, allocations: 0 / 431.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.3068, allocations: 38.56 kB / 431.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.011e-06/0.3068, allocations: 0 / 431.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000492/0.3072, allocations: 221.5 kB / 431.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.3074, allocations: 290.7 kB / 431.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3078, allocations: 280.5 kB / 431.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3078, allocations: 37.69 kB / 431.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.308, allocations: 156.5 kB / 432.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.308, allocations: 47.59 kB / 432.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3081, allocations: 57.7 kB / 432.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3083, allocations: 346.8 kB / 432.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3085, allocations: 99.94 kB / 432.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.3088, allocations: 184.4 kB / 432.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.3092, allocations: 201.2 kB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3092, allocations: 4 kB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005056/0.3097, allocations: 301.6 kB / 433.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3097, allocations: 8 kB / 433.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.3097, allocations: 3.984 kB / 433.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3097, allocations: 4.094 kB / 433.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.31, allocations: 51.84 kB / 433.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.31, allocations: 4 kB / 433.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3102, allocations: 35.69 kB / 433.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3102, allocations: 12 kB / 433.4 MB, free: 11.19 MB / 350.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.0001541/0.3103, allocations: 153.8 kB / 433.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.3104, allocations: 27.81 kB / 433.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.3104, allocations: 26.08 kB / 433.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3104, allocations: 7.938 kB / 433.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3105, allocations: 0 / 433.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3105, allocations: 3.938 kB / 433.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.3108, allocations: 265.5 kB / 433.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3108, allocations: 0 / 433.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.311, allocations: 27.98 kB / 433.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.311, allocations: 4 kB / 433.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.311, allocations: 4 kB / 433.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.311, allocations: 0 / 433.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.311, allocations: 0 / 433.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.3115, allocations: 339.1 kB / 434.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.3115, allocations: 104.9 kB / 434.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.3116, allocations: 8.188 kB / 434.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3117, allocations: 19.98 kB / 434.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3117, allocations: 11.92 kB / 434.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3117, allocations: 4 kB / 434.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.3119, allocations: 195.1 kB / 434.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3119, allocations: 0 / 434.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3123, allocations: 79.86 kB / 434.7 MB, free: 9.836 MB / 350.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.0002579/0.3126, allocations: 141.8 kB / 434.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.313, allocations: 276.9 kB / 435.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.313, allocations: 0 / 435.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3131, allocations: 59.97 kB / 435.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.3136, allocations: 76.97 kB / 435.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3146, allocations: 0.5508 MB / 435.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.315, allocations: 0.7714 MB / 436.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3151, allocations: 41.92 kB / 436.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.3152, allocations: 27.38 kB / 436.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3152, allocations: 0 / 436.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of Templates: time 0.008015/0.3232, allocations: 3.792 MB / 440.4 MB, free: 4.059 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches