Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",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.001571/0.001571, 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.001833/0.001833, 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.363/1.363, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009803/0.0009804, allocations: 42.41 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09319, allocations: 49.45 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003361/0.09658, allocations: 1.625 MB / 351.8 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.09786, allocations: 0.6479 MB / 352.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.09795, allocations: 4 kB / 352.4 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.09826, allocations: 39.8 kB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.09846, allocations: 39.72 kB / 352.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.09967, allocations: 0.6066 MB / 353.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.09988, allocations: 115.6 kB / 353.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1, allocations: 25.09 kB / 353.3 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1002, allocations: 59.77 kB / 353.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1004, allocations: 87.67 kB / 353.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.1004, allocations: 8 kB / 353.4 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.1007, allocations: 135.8 kB / 353.5 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.1008, allocations: 35.84 kB / 353.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.1009, allocations: 55.66 kB / 353.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.1012, allocations: 219.7 kB / 353.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1012, allocations: 0 / 353.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1013, allocations: 0 / 353.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1013, allocations: 0 / 353.8 MB, free: 0.6133 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00162/0.1029, allocations: 0.5496 MB / 354.4 MB, free: 16 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1029, allocations: 8.031 kB / 354.4 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.103, allocations: 46.73 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.1044, allocations: 172.5 kB / 354.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.1046, allocations: 204 kB / 354.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1047, allocations: 8.375 kB / 354.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1047, allocations: 8.359 kB / 354.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.1051, allocations: 186.2 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1051, allocations: 3.938 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.1052, allocations: 8 kB / 355 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.1052, allocations: 4 kB / 355 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.1056, allocations: 163.9 kB / 355.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009609/0.1066, allocations: 0.5429 MB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.107, allocations: 162.5 kB / 355.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.1072, allocations: 93.05 kB / 356 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1073, allocations: 0 / 356 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1073, allocations: 46.5 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1073, allocations: 0 / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007187/0.108, allocations: 261.2 kB / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1081, allocations: 51.41 kB / 356.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1083, allocations: 186.3 kB / 356.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1083, allocations: 33.7 kB / 356.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.1084, allocations: 112.2 kB / 356.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.1084, allocations: 43.36 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.1085, allocations: 33.7 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1086, allocations: 322.8 kB / 357 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1088, allocations: 67.94 kB / 357.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1091, allocations: 101.8 kB / 357.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.1095, allocations: 166.4 kB / 357.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1095, allocations: 0 / 357.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004898/0.11, allocations: 219.8 kB / 357.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.11, allocations: 4 kB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.11, allocations: 0 / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.11, allocations: 4 kB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1103, allocations: 35.95 kB / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1103, allocations: 0 / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1105, allocations: 19.84 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1105, allocations: 11.92 kB / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001121/0.1106, allocations: 137.8 kB / 357.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.1107, allocations: 19.75 kB / 357.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006108/0.1113, allocations: 247 kB / 358.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.1113, allocations: 4 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1113, allocations: 3.938 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1113, allocations: 3.984 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.1116, allocations: 269.5 kB / 358.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1116, allocations: 4 kB / 358.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.1118, allocations: 43.89 kB / 358.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1119, allocations: 0 / 358.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1119, allocations: 8 kB / 358.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1119, allocations: 0 / 358.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1119, allocations: 0 / 358.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.1124, allocations: 323.1 kB / 358.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1125, allocations: 104.8 kB / 358.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1125, allocations: 0 / 358.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1127, allocations: 12 kB / 358.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.1128, allocations: 11.97 kB / 358.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1128, allocations: 8 kB / 358.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1129, allocations: 140.2 kB / 359 MB, free: 11.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1129, allocations: 0 / 359 MB, free: 11.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1132, allocations: 24 kB / 359 MB, free: 11.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (18): * Single equations (assignments): 18 * 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.0008043/0.114, allocations: 0.8745 MB / 359.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.1145, allocations: 191.7 kB / 360.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1146, allocations: 0 / 360.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1148, allocations: 95.88 kB / 360.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1151, allocations: 16 kB / 360.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.1179, allocations: 2.125 MB / 362.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1182, allocations: 0.7357 MB / 363 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.1184, allocations: 29.41 kB / 363.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1185, allocations: 51.41 kB / 363.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1185, allocations: 7.875 kB / 363.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1408, allocations: 3.743 MB / 366.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/7.964, allocations: 9.031 kB / 366.9 MB, free: 3.176 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches