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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008713/0.0008713, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00388/0.00388, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8668/0.8668, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 298.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.794e-05, allocations: 2.281 kB / 298.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001768/0.001786, allocations: 1.565 MB / 300 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.002665, allocations: 0.6559 MB / 300.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.002718, allocations: 0 / 300.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.002956, allocations: 47.67 kB / 300.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.003132, allocations: 35.78 kB / 300.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.003872, allocations: 0.5873 MB / 301.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.004029, allocations: 111.7 kB / 301.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.004115, allocations: 21.27 kB / 301.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.004242, allocations: 79.73 kB / 301.5 MB, free: 444 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.004347, allocations: 67.78 kB / 301.6 MB, free: 376 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.004366, allocations: 12 kB / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.004518, allocations: 107.9 kB / 301.7 MB, free: 256 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.004566, allocations: 39.83 kB / 301.7 MB, free: 216 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.004602, allocations: 39.84 kB / 301.8 MB, free: 176 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1171/0.1217, allocations: 224 kB / 302 MB, free: 13.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1217, allocations: 2.75 kB / 302 MB, free: 13.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1217, allocations: 0 / 302 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1218, allocations: 0 / 302 MB, free: 13.41 MB / 282.7 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.001017/0.1228, allocations: 0.4949 MB / 302.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1228, allocations: 12.86 kB / 302.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1228, allocations: 46.02 kB / 302.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/0.1236, allocations: 186 kB / 302.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1237, allocations: 162.4 kB / 302.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1237, allocations: 7.156 kB / 302.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1237, allocations: 11.77 kB / 302.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.124, allocations: 176.2 kB / 303.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.124, allocations: 0.7969 kB / 303.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.124, allocations: 2.156 kB / 303.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.124, allocations: 11.45 kB / 303.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.1243, allocations: 164.3 kB / 303.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.1248, allocations: 483.9 kB / 303.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1251, allocations: 157.7 kB / 303.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1252, allocations: 83.75 kB / 303.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1252, allocations: 4.844 kB / 303.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.1252, allocations: 32.39 kB / 304 MB, free: 12.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1252, allocations: 3.406 kB / 304 MB, free: 12.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004116/0.1256, allocations: 268 kB / 304.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.1257, allocations: 57.66 kB / 304.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1258, allocations: 181.2 kB / 304.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1258, allocations: 29.27 kB / 304.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.1258, allocations: 120.8 kB / 304.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1258, allocations: 40.09 kB / 304.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.1259, allocations: 36.11 kB / 304.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.1259, allocations: 324.3 kB / 305 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.126, allocations: 67.98 kB / 305.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1261, allocations: 89.73 kB / 305.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1263, allocations: 173.3 kB / 305.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1263, allocations: 0 / 305.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002736/0.1266, allocations: 214 kB / 305.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1266, allocations: 9.031 kB / 305.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1266, allocations: 2.438 kB / 305.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1267, allocations: 5 kB / 305.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1268, allocations: 34.86 kB / 305.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1268, allocations: 6.328 kB / 305.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.1268, allocations: 21.09 kB / 305.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1269, allocations: 10.36 kB / 305.6 MB, free: 11.79 MB / 282.7 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 5.793e-05/0.1269, allocations: 130.9 kB / 305.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1269, allocations: 15.08 kB / 305.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.1273, allocations: 256.2 kB / 306 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1273, allocations: 6.281 kB / 306 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1273, allocations: 0.6562 kB / 306 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1273, allocations: 1.219 kB / 306 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1274, allocations: 219.2 kB / 306.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.1274, allocations: 0.5469 kB / 306.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1275, allocations: 36.28 kB / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1276, allocations: 5.094 kB / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1276, allocations: 12.7 kB / 306.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1276, allocations: 3.938 kB / 306.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1276, allocations: 5.844 kB / 306.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1278, allocations: 312.6 kB / 306.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.1279, allocations: 23.22 kB / 306.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1279, allocations: 1.875 kB / 306.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.1279, allocations: 16.33 kB / 306.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.128, allocations: 11.88 kB / 306.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.128, allocations: 6.531 kB / 306.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.1281, allocations: 152 kB / 306.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1281, allocations: 0 / 306.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.1282, allocations: 26.59 kB / 306.8 MB, free: 11.12 MB / 282.7 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.0004158/0.1287, allocations: 0.8495 MB / 307.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.1293, allocations: 172.8 kB / 307.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1293, allocations: 0 / 307.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1294, allocations: 96.86 kB / 308 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1297, allocations: 22.45 kB / 308 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1318, allocations: 2.133 MB / 310.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.916e-05/0.1319, allocations: 114.3 kB / 310.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.132, allocations: 35.64 kB / 310.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.1321, allocations: 55.36 kB / 310.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1321, allocations: 0 / 310.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.1539, allocations: 4.599 MB / 314.9 MB, free: 7.379 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/7.073, allocations: 5.375 kB / 314.9 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y.re in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.71885341219604]