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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 47.92 kB / 365.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1429, allocations: 52.15 MB / 417.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003349/0.1463, allocations: 1.64 MB / 419.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1475, allocations: 0.6504 MB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.1476, allocations: 0 / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1479, allocations: 51.72 kB / 420.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.1481, allocations: 31.73 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1493, allocations: 0.6148 MB / 420.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1496, allocations: 111.7 kB / 420.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1497, allocations: 17.11 kB / 420.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1499, allocations: 59.77 kB / 420.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.15, allocations: 87.59 kB / 421 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1501, allocations: 8 kB / 421 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1503, allocations: 139.8 kB / 421.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.1504, allocations: 35.89 kB / 421.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.1505, allocations: 59.59 kB / 421.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.1509, allocations: 215.2 kB / 421.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1509, allocations: 4 kB / 421.5 MB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1509, allocations: 0 / 421.5 MB, free: 9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1509, allocations: 0 / 421.5 MB, free: 9 MB / 350.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.001731/0.1526, allocations: 0.5532 MB / 422 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1527, allocations: 12.03 kB / 422 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/0.1527, allocations: 46.73 kB / 422.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.1542, allocations: 172.6 kB / 422.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1545, allocations: 220.1 kB / 422.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1545, allocations: 8.375 kB / 422.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.1546, allocations: 8.375 kB / 422.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.155, allocations: 189.5 kB / 422.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.155, allocations: 0 / 422.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.155, allocations: 12 kB / 422.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1551, allocations: 4 kB / 422.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.1555, allocations: 160.5 kB / 422.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1566, allocations: 0.5354 MB / 423.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.157, allocations: 154.5 kB / 423.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.1573, allocations: 84.8 kB / 423.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1573, allocations: 3.984 kB / 423.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.1573, allocations: 46.73 kB / 423.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1573, allocations: 0 / 423.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008429/0.1582, allocations: 264.3 kB / 423.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.1582, allocations: 55.41 kB / 424 MB, free: 6.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1585, allocations: 178.4 kB / 424.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.1585, allocations: 37.69 kB / 424.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1586, allocations: 112.2 kB / 424.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.1587, allocations: 43.64 kB / 424.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.1588, allocations: 29.7 kB / 424.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.159, allocations: 330.8 kB / 424.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1592, allocations: 67.94 kB / 424.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.1594, allocations: 92.72 kB / 424.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.1598, allocations: 170.4 kB / 425 MB, free: 5.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1599, allocations: 0 / 425 MB, free: 5.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005364/0.1604, allocations: 217.4 kB / 425.2 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1604, allocations: 10.34 kB / 425.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1604, allocations: 0 / 425.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1604, allocations: 0 / 425.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1607, allocations: 35.91 kB / 425.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1607, allocations: 8.062 kB / 425.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1609, allocations: 19.94 kB / 425.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1609, allocations: 19.91 kB / 425.3 MB, free: 4.91 MB / 350.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.0001449/0.161, allocations: 125.8 kB / 425.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.1611, allocations: 15.84 kB / 425.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006632/0.1618, allocations: 258.9 kB / 425.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1618, allocations: 4 kB / 425.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1618, allocations: 0 / 425.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1618, allocations: 0 / 425.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.1622, allocations: 269.5 kB / 426 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1622, allocations: 4 kB / 426 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.1624, allocations: 39.91 kB / 426 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1624, allocations: 0 / 426 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1625, allocations: 11.92 kB / 426 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1625, allocations: 0 / 426 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1625, allocations: 4 kB / 426 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006209/0.1631, allocations: 321.5 kB / 426.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.1632, allocations: 96.89 kB / 426.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1632, allocations: 8 kB / 426.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1634, allocations: 11.98 kB / 426.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.1634, allocations: 11.98 kB / 426.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1635, allocations: 7.984 kB / 426.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1636, allocations: 148.2 kB / 426.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1636, allocations: 0 / 426.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1639, allocations: 31.95 kB / 426.6 MB, free: 3.465 MB / 350.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.0009975/0.1649, allocations: 0.8606 MB / 427.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005145/0.1654, allocations: 171.3 kB / 427.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1654, allocations: 0 / 427.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.1657, allocations: 95.88 kB / 427.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.166, allocations: 24.2 kB / 427.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.1694, allocations: 2.14 MB / 429.9 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1698, allocations: 0.7163 MB / 430.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1699, allocations: 33.41 kB / 430.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.17, allocations: 55.41 kB / 430.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.17, allocations: 0 / 430.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.201, allocations: 3.838 MB / 434.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/8.873, allocations: 10.22 kB / 434.6 MB, free: 11.49 MB / 366.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable const.y.re in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.78477381868288]