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.001603/0.001603, allocations: 106.2 kB / 17.06 MB, free: 6.098 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.001786/0.001786, allocations: 200.1 kB / 18 MB, free: 5.168 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000979/0.000979, allocations: 55.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2644, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002819/0.2672, allocations: 1.833 MB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005077/0.2723, allocations: 3.504 MB / 405.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.2725, allocations: 7.938 kB / 405.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.2729, allocations: 131.3 kB / 405.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.58e-05/0.273, allocations: 31.72 kB / 405.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.2767, allocations: 1.796 MB / 407.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.277, allocations: 295.2 kB / 407.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2772, allocations: 32.67 kB / 407.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.2773, allocations: 119.5 kB / 408 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.2775, allocations: 103.4 kB / 408.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.2775, allocations: 16 kB / 408.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.2778, allocations: 143.7 kB / 408.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2779, allocations: 63.77 kB / 408.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.278, allocations: 103.3 kB / 408.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.2784, allocations: 342.6 kB / 408.7 MB, free: 336 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2784, allocations: 0 / 408.7 MB, free: 336 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2784, allocations: 0 / 408.7 MB, free: 336 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2784, allocations: 0 / 408.7 MB, free: 336 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.0008244/0.2792, allocations: 0.5915 MB / 409.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2793, allocations: 12.03 kB / 409.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.2793, allocations: 42.73 kB / 409.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.2794, allocations: 32.75 kB / 409.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.2798, allocations: 288 kB / 409.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2798, allocations: 12 kB / 409.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.2799, allocations: 16 kB / 409.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.2802, allocations: 207.6 kB / 409.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2802, allocations: 0 / 409.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.2802, allocations: 7.938 kB / 409.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2802, allocations: 4 kB / 409.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.2804, allocations: 83.94 kB / 410 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.2812, allocations: 488.4 kB / 410.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.2815, allocations: 174.4 kB / 410.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2816, allocations: 60.83 kB / 410.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2816, allocations: 0 / 410.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2816, allocations: 38.59 kB / 410.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.2816, allocations: 0 / 410.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004498/0.2821, allocations: 221.5 kB / 411 MB, free: 13.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.2822, allocations: 290.7 kB / 411.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.2825, allocations: 276.5 kB / 411.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2825, allocations: 41.64 kB / 411.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2826, allocations: 152.5 kB / 411.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.2827, allocations: 55.55 kB / 411.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.2828, allocations: 61.69 kB / 411.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2829, allocations: 334.8 kB / 412.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2831, allocations: 107.9 kB / 412.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.2833, allocations: 176.5 kB / 412.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.2836, allocations: 205.4 kB / 412.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2837, allocations: 0 / 412.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004519/0.2841, allocations: 313.3 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2841, allocations: 4 kB / 412.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.2842, allocations: 4 kB / 412.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2842, allocations: 7.938 kB / 412.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.2845, allocations: 55.95 kB / 413 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2845, allocations: 0 / 413 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2846, allocations: 19.88 kB / 413 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2846, 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.0001379/0.2847, allocations: 149.8 kB / 413.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.2848, allocations: 27.81 kB / 413.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.2849, allocations: 41.91 kB / 413.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2849, allocations: 4 kB / 413.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2849, allocations: 0 / 413.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2849, allocations: 0 / 413.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.2852, allocations: 269.4 kB / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2852, allocations: 4.094 kB / 413.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2853, allocations: 27.92 kB / 413.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2854, allocations: 3.938 kB / 413.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2854, allocations: 7.938 kB / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2854, allocations: 0 / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2854, allocations: 0 / 413.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.2858, allocations: 339.3 kB / 413.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.2859, allocations: 96.92 kB / 414 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.286, allocations: 11.92 kB / 414 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2861, allocations: 12.06 kB / 414 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2861, allocations: 7.984 kB / 414 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.2862, allocations: 0 / 414 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.2863, allocations: 203.1 kB / 414.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2863, allocations: 0 / 414.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.2867, 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.0008132/0.2875, allocations: 0.9188 MB / 415.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.2879, allocations: 280.9 kB / 415.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2879, allocations: 4 kB / 415.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.2881, allocations: 67.89 kB / 415.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.2885, allocations: 69.41 kB / 415.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.2917, allocations: 2.793 MB / 418.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.292, allocations: 0.7714 MB / 419.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.2922, allocations: 45.92 kB / 419.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2923, allocations: 83.34 kB / 419.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2923, allocations: 0 / 419.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.316, allocations: 6.527 MB / 425.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.091, allocations: 23.47 kB / 425.8 MB, free: 14.7 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