Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001153/0.001153, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09599, allocations: 46.61 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003218/0.09926, allocations: 1.815 MB / 376.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1932/0.2925, allocations: 3.543 MB / 380 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.2928, allocations: 9.031 kB / 380 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.2934, allocations: 131.8 kB / 380.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2936, allocations: 36.45 kB / 380.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005383/0.299, allocations: 1.773 MB / 381.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.2996, allocations: 299.9 kB / 382.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2998, allocations: 38.81 kB / 382.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.3001, allocations: 114.5 kB / 382.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3002, allocations: 106.5 kB / 382.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.3003, allocations: 11.78 kB / 382.5 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.3007, allocations: 143.3 kB / 382.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3008, allocations: 74.27 kB / 382.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3009, allocations: 102.5 kB / 382.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.3016, allocations: 342.9 kB / 383.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3016, allocations: 1.594 kB / 383.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3016, allocations: 2.719 kB / 383.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3016, allocations: 0 / 383.1 MB, free: 9.469 MB / 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.0009788/0.3026, allocations: 0.5883 MB / 383.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.3027, allocations: 9.25 kB / 383.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.3028, allocations: 43.14 kB / 383.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.3029, allocations: 31.09 kB / 383.8 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.3033, allocations: 289 kB / 384.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3033, allocations: 10.31 kB / 384.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.3034, allocations: 20.91 kB / 384.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.3038, allocations: 204.1 kB / 384.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3038, allocations: 1.781 kB / 384.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3038, allocations: 5.125 kB / 384.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3039, allocations: 3.5 kB / 384.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.3041, allocations: 84.83 kB / 384.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.305, allocations: 495.3 kB / 384.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3053, allocations: 170.8 kB / 385.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3055, allocations: 57.62 kB / 385.1 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3055, allocations: 6.312 kB / 385.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3055, allocations: 32.91 kB / 385.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.3055, allocations: 0 / 385.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005288/0.3061, allocations: 218.3 kB / 385.4 MB, free: 7.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.3061, allocations: 286.5 kB / 385.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3064, allocations: 279.7 kB / 385.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.3065, allocations: 34.77 kB / 386 MB, free: 7.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.3066, allocations: 159.3 kB / 386.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3066, allocations: 50.91 kB / 386.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.3067, allocations: 63.88 kB / 386.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.3068, allocations: 343.2 kB / 386.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.307, allocations: 101.5 kB / 386.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3072, allocations: 185 kB / 386.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.3076, allocations: 208.4 kB / 387.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3076, allocations: 1.031 kB / 387.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004949/0.3081, allocations: 308.3 kB / 387.4 MB, free: 6.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3081, allocations: 9.625 kB / 387.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.3081, allocations: 5.781 kB / 387.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.3082, allocations: 2.188 kB / 387.4 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.3085, allocations: 57.28 kB / 387.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.3085, allocations: 1.781 kB / 387.4 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3086, allocations: 28.02 kB / 387.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3087, allocations: 11.36 kB / 387.5 MB, free: 6.453 MB / 318.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.000145/0.3088, allocations: 147.6 kB / 387.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.3089, allocations: 27.56 kB / 387.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.3089, allocations: 31.72 kB / 387.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3089, allocations: 1.906 kB / 387.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.309, allocations: 6.344 kB / 387.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.309, allocations: 4.781 kB / 387.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.3093, allocations: 259.1 kB / 387.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3093, allocations: 0 / 387.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3095, allocations: 27.36 kB / 388 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3095, allocations: 4.75 kB / 388 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3095, allocations: 4.547 kB / 388 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3095, allocations: 1.906 kB / 388 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3095, allocations: 0 / 388 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/0.31, allocations: 350 kB / 388.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.3101, allocations: 99.89 kB / 388.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3101, allocations: 9.078 kB / 388.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3103, allocations: 10.83 kB / 388.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3103, allocations: 11.67 kB / 388.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3103, allocations: 11.69 kB / 388.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3105, allocations: 197.8 kB / 388.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3105, allocations: 4 kB / 388.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.311, allocations: 79.61 kB / 388.7 MB, free: 5.574 MB / 318.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.0008421/0.3119, allocations: 0.9092 MB / 389.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.3123, allocations: 285.7 kB / 389.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3124, allocations: 1.188 kB / 389.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3125, allocations: 67.17 kB / 390 MB, free: 4.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.3131, allocations: 77.3 kB / 390.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.3168, allocations: 2.783 MB / 392.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3171, allocations: 0.7723 MB / 393.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.3174, allocations: 43.41 kB / 393.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3175, allocations: 82.12 kB / 393.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3175, allocations: 1.156 kB / 393.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.3476, allocations: 6.536 MB / 400.3 MB, free: 124 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/8.681, allocations: 13.53 kB / 400.3 MB, free: 112 kB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches