Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_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.001463/0.001464, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001679/0.001679, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 55.88 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09609, allocations: 46.62 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003344/0.09949, allocations: 1.592 MB / 329 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1008, allocations: 0.6872 MB / 329.6 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1009, allocations: 4 kB / 329.7 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.1012, allocations: 51.72 kB / 329.7 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1015, allocations: 31.67 kB / 329.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1028, allocations: 0.6031 MB / 330.3 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.103, allocations: 103.8 kB / 330.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1032, allocations: 33.05 kB / 330.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1034, allocations: 63.7 kB / 330.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1036, allocations: 79.67 kB / 330.6 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1036, allocations: 8 kB / 330.6 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.1039, allocations: 139.8 kB / 330.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.104, allocations: 35.89 kB / 330.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.23e-05/0.1041, allocations: 59.61 kB / 330.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1044, allocations: 215.6 kB / 331.1 MB, free: 0.668 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1045, allocations: 0 / 331.1 MB, free: 0.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1045, allocations: 0 / 331.1 MB, free: 0.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1045, allocations: 0 / 331.1 MB, free: 0.668 MB / 270.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.001637/0.1061, allocations: 0.5536 MB / 331.6 MB, free: 68 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1062, allocations: 8.031 kB / 331.6 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.1062, allocations: 42.73 kB / 331.7 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.1076, allocations: 176.5 kB / 331.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1079, allocations: 200 kB / 332 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1079, allocations: 8.375 kB / 332 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1079, allocations: 12.31 kB / 332 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.1084, allocations: 177.7 kB / 332.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1084, allocations: 0 / 332.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1084, allocations: 8 kB / 332.2 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.1085, allocations: 11.94 kB / 332.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.1089, allocations: 159.9 kB / 332.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1099, allocations: 0.5508 MB / 332.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.1103, allocations: 158.5 kB / 333.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.1106, allocations: 96.8 kB / 333.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1106, allocations: 0 / 333.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1107, allocations: 38.44 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.1107, allocations: 4 kB / 333.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000726/0.1114, allocations: 265.6 kB / 333.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1115, allocations: 51.41 kB / 333.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1117, allocations: 186.3 kB / 333.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.1117, allocations: 25.7 kB / 333.8 MB, free: 13.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.1118, allocations: 116.2 kB / 333.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1119, allocations: 43.34 kB / 333.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.1119, allocations: 37.7 kB / 333.9 MB, free: 13.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1121, allocations: 326.8 kB / 334.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.1123, allocations: 63.94 kB / 334.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1125, allocations: 102.3 kB / 334.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.1128, allocations: 162.5 kB / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1129, allocations: 0 / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004552/0.1133, allocations: 225.3 kB / 334.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1133, allocations: 4 kB / 334.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1134, allocations: 0 / 334.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1134, allocations: 8.062 kB / 334.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1136, allocations: 35.91 kB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1136, allocations: 3.984 kB / 334.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1138, allocations: 15.84 kB / 334.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.1138, allocations: 11.98 kB / 334.9 MB, free: 12.59 MB / 286.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.0001116/0.114, allocations: 125.8 kB / 335 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.114, allocations: 19.75 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.1146, allocations: 250.9 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.1146, allocations: 4 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1146, allocations: 0 / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1146, allocations: 0 / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.1149, allocations: 277.4 kB / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1149, allocations: 0 / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.1152, allocations: 39.91 kB / 335.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/0.1152, allocations: 3.938 kB / 335.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.1152, allocations: 15.92 kB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1152, allocations: 0 / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1152, allocations: 0 / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.1158, allocations: 322.3 kB / 335.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.1159, allocations: 96.84 kB / 336 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.1159, allocations: 4 kB / 336 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1161, allocations: 15.98 kB / 336 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1161, allocations: 15.97 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1162, allocations: 4 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1163, allocations: 148.2 kB / 336.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1163, allocations: 0 / 336.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1166, allocations: 24 kB / 336.2 MB, free: 11.15 MB / 286.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.0007776/0.1174, allocations: 0.8565 MB / 337.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.1178, allocations: 176 kB / 337.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1179, allocations: 7.938 kB / 337.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1181, allocations: 107.1 kB / 337.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1184, allocations: 15.91 kB / 337.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.1211, allocations: 2.126 MB / 339.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1214, allocations: 0.7241 MB / 340.2 MB, free: 7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.1215, allocations: 33.41 kB / 340.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1216, allocations: 51.41 kB / 340.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1216, allocations: 0 / 340.3 MB, free: 6.918 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.1433, allocations: 3.739 MB / 344.1 MB, free: 3.113 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/7.835, allocations: 23.45 kB / 344.1 MB, free: 3.09 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches