Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002198/0.002198, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001632/0.001632, allocations: 214.6 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.4 MB / 254 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 373 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1262, allocations: 53.36 MB / 426.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003502/0.1297, allocations: 1.714 MB / 428 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1314, allocations: 0.7749 MB / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1315, allocations: 0 / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1318, allocations: 55.72 kB / 428.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1321, allocations: 39.66 kB / 428.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1333, allocations: 0.4942 MB / 429.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.1336, allocations: 131.5 kB / 429.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1337, allocations: 13.56 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.1338, allocations: 71.69 kB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.134, allocations: 79.67 kB / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.1341, allocations: 12 kB / 429.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.1343, allocations: 127.8 kB / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.1344, allocations: 35.84 kB / 429.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.1345, allocations: 63.66 kB / 429.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1348, allocations: 203.1 kB / 430.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1349, allocations: 4 kB / 430.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1349, allocations: 3.938 kB / 430.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1349, allocations: 0 / 430.1 MB, free: 0.8477 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.001492/0.1364, allocations: 0.5336 MB / 430.7 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1364, allocations: 12.03 kB / 430.7 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.602e-05/0.1365, allocations: 50.73 kB / 430.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.1372, allocations: 96.73 kB / 430.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1375, allocations: 224 kB / 431 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1375, allocations: 8.375 kB / 431 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1376, allocations: 12.38 kB / 431.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.138, allocations: 165.7 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.138, allocations: 0 / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.138, allocations: 4 kB / 431.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.138, allocations: 7.938 kB / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.1385, allocations: 151.9 kB / 431.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1396, allocations: 0.5666 MB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.14, allocations: 142.5 kB / 432.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1402, allocations: 60.81 kB / 432.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1402, allocations: 0 / 432.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1403, allocations: 38.56 kB / 432.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.1403, allocations: 0 / 432.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006492/0.1409, allocations: 213.6 kB / 432.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.141, allocations: 51.41 kB / 432.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1412, allocations: 206.8 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1412, allocations: 33.7 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.1413, allocations: 124.2 kB / 432.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1414, allocations: 35.69 kB / 432.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.1414, allocations: 33.7 kB / 432.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1416, allocations: 326.8 kB / 433.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1418, allocations: 55.95 kB / 433.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.142, allocations: 100.2 kB / 433.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.1423, allocations: 156.5 kB / 433.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1423, allocations: 4 kB / 433.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004647/0.1428, allocations: 193.3 kB / 433.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1428, allocations: 4 kB / 433.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1428, allocations: 4 kB / 433.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1428, allocations: 0 / 433.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.143, allocations: 35.92 kB / 433.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.143, allocations: 3.984 kB / 433.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1432, allocations: 24 kB / 433.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1432, allocations: 4 kB / 433.8 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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.000137/0.1433, allocations: 141.7 kB / 433.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.1434, allocations: 15.86 kB / 433.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.1439, allocations: 186.9 kB / 434.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1439, allocations: 0 / 434.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1439, allocations: 4 kB / 434.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1439, allocations: 4 kB / 434.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.1442, allocations: 245.5 kB / 434.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1442, allocations: 0 / 434.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.1444, allocations: 27.98 kB / 434.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1444, allocations: 4 kB / 434.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1444, allocations: 3.984 kB / 434.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1444, allocations: 0 / 434.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1444, allocations: 0 / 434.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.1449, allocations: 275.2 kB / 434.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.145, allocations: 109 kB / 434.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1451, allocations: 0 / 434.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1452, allocations: 11.98 kB / 434.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.1452, allocations: 4 kB / 434.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1453, allocations: 7.984 kB / 434.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1454, allocations: 156.9 kB / 434.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1454, allocations: 0 / 434.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1457, allocations: 31.98 kB / 435 MB, free: 11.64 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0008592/0.1466, allocations: 0.8137 MB / 435.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.147, allocations: 135.8 kB / 435.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.147, allocations: 0 / 435.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.1472, allocations: 59.91 kB / 436 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1475, allocations: 28.22 kB / 436 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.1506, allocations: 2.137 MB / 438.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1509, allocations: 0.7318 MB / 438.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.151, allocations: 29.41 kB / 438.9 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1512, allocations: 43.42 kB / 438.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1512, allocations: 4 kB / 438.9 MB, free: 7.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.1783, allocations: 3.461 MB / 442.4 MB, free: 4.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.253, allocations: 3.938 kB / 442.4 MB, free: 4.141 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.re in file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.081729875993915]