Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008451/0.0008451, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001337/0.001337, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8862/0.8862, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 324.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.515e-05, allocations: 6.219 kB / 324.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002076/0.002101, allocations: 1.68 MB / 326.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.00318, allocations: 0.7164 MB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.003258, allocations: 4 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.003512, allocations: 47.66 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.003713, allocations: 43.66 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.004435, allocations: 478 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.004656, allocations: 123.5 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.004767, allocations: 25.8 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.004886, allocations: 75.8 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.005089, allocations: 79.78 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.005112, allocations: 8 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.00533, allocations: 119.8 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.00539, allocations: 35.84 kB / 327.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.005438, allocations: 39.84 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.005731, allocations: 215.3 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005733, allocations: 0 / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005734, allocations: 0 / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.00574, allocations: 0 / 328.2 MB, free: 12.14 MB / 298.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.0008936/0.006633, allocations: 480.4 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.006674, allocations: 8.031 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.006715, allocations: 42.73 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.007101, allocations: 100.7 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.007292, allocations: 170.5 kB / 329 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.007309, allocations: 8.375 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.007327, allocations: 12.38 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.007597, allocations: 160.9 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.007609, allocations: 192 / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.007625, allocations: 8.125 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.007645, allocations: 7.984 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.007883, allocations: 151.9 kB / 329.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.008571, allocations: 0.4999 MB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.008868, allocations: 130.6 kB / 330 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.008969, allocations: 64.81 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.008993, allocations: 4 kB / 330 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.009013, allocations: 38.62 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.009015, allocations: 4 kB / 330.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003869/0.009402, allocations: 217.4 kB / 330.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.009434, allocations: 55.41 kB / 330.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.00959, allocations: 218.9 kB / 330.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.009603, allocations: 25.7 kB / 330.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.009667, allocations: 124.2 kB / 330.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.009688, allocations: 35.72 kB / 330.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.009734, allocations: 33.67 kB / 330.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.009816, allocations: 338.8 kB / 331.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/0.009911, allocations: 51.97 kB / 331.1 MB, free: 9.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.01002, allocations: 92.23 kB / 331.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.01022, allocations: 152.2 kB / 331.4 MB, free: 8.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01022, allocations: 7.938 kB / 331.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002507/0.01047, allocations: 189.8 kB / 331.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01049, allocations: 12.03 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01049, allocations: 3.938 kB / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01051, allocations: 0 / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01061, allocations: 31.97 kB / 331.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01062, allocations: 7.984 kB / 331.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.01068, allocations: 20.02 kB / 331.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01069, allocations: 11.98 kB / 331.7 MB, free: 8.461 MB / 298.7 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 8.34e-05/0.01078, allocations: 125.8 kB / 331.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.0108, allocations: 27.83 kB / 331.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.01108, allocations: 171.1 kB / 332 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01109, allocations: 4 kB / 332 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.0111, allocations: 7.938 kB / 332 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0111, allocations: 7.984 kB / 332 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.01127, allocations: 196.6 kB / 332.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01128, allocations: 0 / 332.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.01135, allocations: 27.92 kB / 332.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.01136, allocations: 3.938 kB / 332.2 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01136, allocations: 3.984 kB / 332.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01137, allocations: 4 kB / 332.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01137, allocations: 0 / 332.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.01164, allocations: 255.4 kB / 332.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.01169, allocations: 35.88 kB / 332.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.01171, allocations: 7.875 kB / 332.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.01177, allocations: 8 kB / 332.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.01181, allocations: 11.97 kB / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.01182, allocations: 0 / 332.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.01191, allocations: 160.2 kB / 332.7 MB, free: 7.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01191, allocations: 3.938 kB / 332.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.0121, allocations: 27.94 kB / 332.7 MB, free: 7.324 MB / 298.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 (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.0004848/0.01259, allocations: 0.8049 MB / 333.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.01284, allocations: 135.8 kB / 333.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01284, allocations: 0 / 333.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.01294, allocations: 72.47 kB / 333.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01316, allocations: 20.16 kB / 333.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.01502, allocations: 2.143 MB / 335.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.217e-05/0.0151, allocations: 111.4 kB / 336 MB, free: 3.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.01517, allocations: 37.41 kB / 336 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.01524, allocations: 44.48 kB / 336.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01525, allocations: 0 / 336.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.03268, allocations: 4.228 MB / 340.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.039, allocations: 0 / 340.3 MB, free: 15.7 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.re in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.757143187336624]