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.001386/0.001386, allocations: 107.8 kB / 17.06 MB, free: 5.828 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.00121/0.00121, allocations: 195.9 kB / 18 MB, free: 4.965 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 55.91 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2353, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003002/0.2383, allocations: 1.831 MB / 402.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005817/0.2442, allocations: 3.505 MB / 405.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.2444, allocations: 7.875 kB / 405.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.2449, allocations: 131.4 kB / 405.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2451, allocations: 35.66 kB / 405.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.2495, allocations: 1.772 MB / 407.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.25, allocations: 303.2 kB / 407.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2501, allocations: 28.69 kB / 407.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.2503, allocations: 119.5 kB / 407.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.2505, allocations: 103.4 kB / 408.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.2505, allocations: 12 kB / 408.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.2508, allocations: 143.7 kB / 408.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2509, allocations: 67.7 kB / 408.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.251, allocations: 103.3 kB / 408.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.2515, allocations: 334.6 kB / 408.7 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2515, allocations: 0 / 408.7 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2515, allocations: 0 / 408.7 MB, free: 352 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.2515, allocations: 0 / 408.7 MB, free: 352 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.0009941/0.2525, allocations: 0.5954 MB / 409.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2526, allocations: 12.03 kB / 409.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.2526, allocations: 46.73 kB / 409.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.2527, allocations: 32.75 kB / 409.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.2532, allocations: 284 kB / 409.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2532, allocations: 12 kB / 409.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.2533, allocations: 19.94 kB / 409.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.2536, allocations: 202.1 kB / 409.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2537, allocations: 0 / 409.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.2537, allocations: 7.938 kB / 409.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2537, allocations: 7.984 kB / 409.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.2539, allocations: 86.19 kB / 410 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.2547, allocations: 488.4 kB / 410.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2551, allocations: 186.3 kB / 410.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.2552, allocations: 52.83 kB / 410.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.2552, allocations: 0 / 410.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2552, allocations: 38.56 kB / 410.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.2552, allocations: 0 / 410.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004855/0.2557, allocations: 221.6 kB / 411 MB, free: 13.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.2559, allocations: 294.7 kB / 411.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.2562, allocations: 280.5 kB / 411.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2563, allocations: 33.7 kB / 411.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2564, allocations: 152.5 kB / 411.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.2564, allocations: 55.55 kB / 411.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.2566, allocations: 61.69 kB / 411.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2567, allocations: 334.8 kB / 412.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2569, allocations: 99.94 kB / 412.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.2572, allocations: 176.5 kB / 412.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.2575, allocations: 213.3 kB / 412.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2576, allocations: 0 / 412.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005155/0.2581, allocations: 317.3 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2581, allocations: 4 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.2581, allocations: 4 kB / 412.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2582, allocations: 3.938 kB / 412.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.2584, allocations: 55.89 kB / 413 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2585, allocations: 0 / 413 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2586, allocations: 19.89 kB / 413 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.2586, allocations: 8 kB / 413 MB, free: 11.67 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.0001506/0.2588, allocations: 149.8 kB / 413.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.2588, allocations: 27.81 kB / 413.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.2589, allocations: 33.91 kB / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2589, allocations: 0 / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2589, allocations: 0 / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2589, allocations: 4.094 kB / 413.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.2593, allocations: 277.4 kB / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2593, allocations: 4.047 kB / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.2594, allocations: 31.92 kB / 413.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2595, allocations: 0 / 413.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.2595, allocations: 7.938 kB / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2595, allocations: 4 kB / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2595, allocations: 0 / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.26, allocations: 339 kB / 413.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.2601, allocations: 101 kB / 414 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.2602, allocations: 11.92 kB / 414 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2603, allocations: 12 kB / 414 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2604, allocations: 11.98 kB / 414 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2604, allocations: 0 / 414 MB, free: 10.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.2606, allocations: 199.1 kB / 414.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2606, allocations: 0 / 414.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.261, allocations: 75.88 kB / 414.3 MB, free: 10.31 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.0009831/0.2619, allocations: 0.9112 MB / 415.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.2624, allocations: 280.9 kB / 415.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2624, allocations: 4 kB / 415.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2626, allocations: 67.89 kB / 415.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.2631, allocations: 76.3 kB / 415.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.2667, allocations: 2.796 MB / 418.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.2671, allocations: 0.7675 MB / 419.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.2673, allocations: 46.17 kB / 419.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.2674, allocations: 91.28 kB / 419.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2674, allocations: 0 / 419.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.297, allocations: 6.523 MB / 425.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.439, allocations: 14.59 kB / 425.8 MB, free: 14.71 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