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.001101/0.001101, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001044/0.001044, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.302/1.302, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009567/0.0009567, allocations: 50.2 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08049/0.08146, allocations: 49.44 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003072/0.08457, allocations: 1.822 MB / 352 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.09057, allocations: 3.497 MB / 355.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.09078, allocations: 11.88 kB / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.09132, allocations: 131.4 kB / 355.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.09144, allocations: 35.64 kB / 355.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.09542, allocations: 1.777 MB / 357.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.09577, allocations: 295.2 kB / 357.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.09593, allocations: 44.66 kB / 357.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.09608, allocations: 103.6 kB / 357.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.09624, allocations: 111.3 kB / 358 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.0963, allocations: 12 kB / 358 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.09657, allocations: 147.7 kB / 358.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.09669, allocations: 67.75 kB / 358.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.09681, allocations: 103.3 kB / 358.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.09721, allocations: 335 kB / 358.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09722, allocations: 0 / 358.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09723, allocations: 0 / 358.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.09724, allocations: 0 / 358.6 MB, free: 11.83 MB / 302.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.0008383/0.09808, allocations: 0.5762 MB / 359.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.09813, allocations: 12.03 kB / 359.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.09818, allocations: 38.75 kB / 359.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.09825, allocations: 32.66 kB / 359.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.0986, allocations: 291.8 kB / 359.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.09862, allocations: 12 kB / 359.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.09868, allocations: 20 kB / 359.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.099, allocations: 202.1 kB / 359.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.09902, allocations: 3.984 kB / 359.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.09904, allocations: 4 kB / 359.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.09906, allocations: 7.938 kB / 359.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.09925, allocations: 79.94 kB / 359.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.1001, allocations: 0.4885 MB / 360.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.1004, allocations: 170.5 kB / 360.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.1005, allocations: 60.81 kB / 360.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1005, allocations: 0 / 360.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1006, allocations: 38.56 kB / 360.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.1006, allocations: 0 / 360.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004569/0.101, allocations: 216.1 kB / 360.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.1012, allocations: 294.7 kB / 361.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1015, allocations: 272.5 kB / 361.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1015, allocations: 37.69 kB / 361.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1016, allocations: 156.4 kB / 361.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.1017, allocations: 55.36 kB / 361.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.1018, allocations: 61.64 kB / 361.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1019, allocations: 342.8 kB / 362 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1021, allocations: 99.94 kB / 362.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.1023, allocations: 176.5 kB / 362.3 MB, free: 7.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.1027, allocations: 201.6 kB / 362.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1027, allocations: 7.938 kB / 362.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004717/0.1032, allocations: 301.2 kB / 362.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1032, allocations: 4 kB / 362.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.1032, allocations: 7.984 kB / 362.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1032, allocations: 3.938 kB / 362.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.1035, allocations: 55.97 kB / 362.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1035, allocations: 0 / 362.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1036, allocations: 27.67 kB / 362.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1037, allocations: 11.94 kB / 362.9 MB, free: 7.176 MB / 302.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.0001383/0.1038, allocations: 145.8 kB / 363.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.1039, allocations: 23.72 kB / 363.1 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.1039, allocations: 33.97 kB / 363.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1039, allocations: 3.938 kB / 363.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1039, allocations: 4 kB / 363.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.104, allocations: 0 / 363.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1042, allocations: 265.5 kB / 363.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1043, allocations: 0 / 363.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1044, allocations: 27.92 kB / 363.4 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1045, allocations: 0 / 363.4 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1045, allocations: 4 kB / 363.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1045, allocations: 3.938 kB / 363.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1045, allocations: 0 / 363.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.105, allocations: 351.1 kB / 363.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.105, allocations: 96.83 kB / 363.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1051, allocations: 8 kB / 363.9 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1052, allocations: 19.92 kB / 363.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1053, allocations: 7.984 kB / 363.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1053, allocations: 0 / 363.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.1055, allocations: 195.1 kB / 364.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1055, allocations: 0 / 364.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1059, allocations: 87.92 kB / 364.2 MB, free: 5.828 MB / 302.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.0009738/0.1069, allocations: 0.9144 MB / 365.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.1074, allocations: 292.9 kB / 365.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1074, allocations: 8 kB / 365.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1075, allocations: 59.91 kB / 365.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.108, allocations: 79.7 kB / 365.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.1114, allocations: 2.797 MB / 368.3 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1118, allocations: 0.7635 MB / 369.1 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1119, allocations: 38.06 kB / 369.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.112, allocations: 91.34 kB / 369.2 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.112, allocations: 0 / 369.2 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/0.263, allocations: 6.432 MB / 375.6 MB, free: 25.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.754, allocations: 22.69 kB / 375.6 MB, free: 25.6 MB / 302.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