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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_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.001531/0.001531, allocations: 115.5 kB / 17.07 MB, free: 6.012 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.001837/0.001837, allocations: 191.9 kB / 18 MB, free: 5.098 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.001011, allocations: 51.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2355, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002967/0.2385, allocations: 1.829 MB / 402 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005158/0.2437, allocations: 3.509 MB / 405.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.2439, allocations: 7.875 kB / 405.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.2443, allocations: 127.4 kB / 405.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2445, allocations: 43.64 kB / 405.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.2484, allocations: 1.77 MB / 407.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.2488, allocations: 303.2 kB / 407.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2489, allocations: 36.66 kB / 407.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2491, allocations: 111.5 kB / 407.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2493, allocations: 107.4 kB / 408 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.2493, allocations: 12 kB / 408.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.2496, allocations: 151.7 kB / 408.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2497, allocations: 67.75 kB / 408.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2498, allocations: 103.3 kB / 408.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.2503, allocations: 338.6 kB / 408.7 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2503, allocations: 3.938 kB / 408.7 MB, free: 324 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2503, allocations: 0 / 408.7 MB, free: 324 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2503, allocations: 0 / 408.7 MB, free: 324 kB / 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.000822/0.2511, allocations: 0.5915 MB / 409.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2512, allocations: 12.03 kB / 409.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.2512, allocations: 38.75 kB / 409.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.2513, allocations: 28.75 kB / 409.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.2517, allocations: 295.9 kB / 409.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2517, allocations: 8 kB / 409.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.2517, allocations: 20 kB / 409.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.252, allocations: 200.4 kB / 409.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2521, allocations: 0 / 409.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.2521, allocations: 7.938 kB / 409.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2521, allocations: 8 kB / 409.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.2523, allocations: 83.92 kB / 410 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.253, allocations: 488.4 kB / 410.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.2534, allocations: 186.3 kB / 410.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.2535, allocations: 56.83 kB / 410.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2535, allocations: 0 / 410.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2535, allocations: 34.56 kB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2535, allocations: 0 / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004475/0.254, allocations: 229.4 kB / 411 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.2541, allocations: 286.7 kB / 411.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.2544, allocations: 284.5 kB / 411.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2544, allocations: 33.7 kB / 411.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.2545, allocations: 148.6 kB / 411.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.2546, allocations: 59.53 kB / 411.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.2547, allocations: 57.69 kB / 411.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2548, allocations: 338.8 kB / 412.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.255, allocations: 103.9 kB / 412.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.2552, allocations: 176.5 kB / 412.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.2555, allocations: 209.3 kB / 412.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2555, allocations: 0 / 412.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004509/0.256, allocations: 305.4 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.256, allocations: 7.984 kB / 412.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.256, allocations: 8 kB / 412.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.256, allocations: 3.938 kB / 412.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.2563, allocations: 52 kB / 413 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2563, allocations: 7.938 kB / 413 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.2564, allocations: 19.88 kB / 413 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2565, allocations: 8 kB / 413 MB, free: 11.66 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.0001325/0.2566, allocations: 145.8 kB / 413.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.2567, allocations: 31.81 kB / 413.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.2567, allocations: 33.91 kB / 413.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2567, allocations: 4 kB / 413.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2568, allocations: 4 kB / 413.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.2568, allocations: 3.984 kB / 413.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.257, allocations: 269.4 kB / 413.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2571, allocations: 4.094 kB / 413.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2572, allocations: 27.92 kB / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2573, allocations: 0 / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.2573, allocations: 11.92 kB / 413.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2573, allocations: 0 / 413.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2573, allocations: 4 kB / 413.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.2577, allocations: 339.2 kB / 413.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.2578, allocations: 96.92 kB / 414 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.2579, allocations: 7.938 kB / 414 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.258, allocations: 16.05 kB / 414 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.258, allocations: 7.984 kB / 414 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.2581, allocations: 8 kB / 414 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.2582, allocations: 195.1 kB / 414.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2582, allocations: 0 / 414.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.2586, allocations: 75.88 kB / 414.3 MB, free: 10.3 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.000806/0.2594, allocations: 0.9151 MB / 415.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.2598, allocations: 284.7 kB / 415.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2598, allocations: 4 kB / 415.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.26, allocations: 63.91 kB / 415.5 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.2604, allocations: 74.69 kB / 415.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.2638, allocations: 2.789 MB / 418.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2641, allocations: 0.7675 MB / 419.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.2642, allocations: 58.14 kB / 419.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.2644, allocations: 83.34 kB / 419.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2644, allocations: 0 / 419.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.2901, allocations: 6.531 MB / 425.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.204, allocations: 11.78 kB / 425.8 MB, free: 14.69 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/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