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.001529/0.001529, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001674/0.001674, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.745/1.745, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001701/0.001701, allocations: 47.92 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3588, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003087/0.3619, allocations: 1.647 MB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3632, allocations: 0.6621 MB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.3633, allocations: 0 / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.3636, allocations: 51.72 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.3638, allocations: 35.78 kB / 425 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3653, allocations: 0.6147 MB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.3655, allocations: 107.7 kB / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3657, allocations: 17.3 kB / 425.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3659, allocations: 71.64 kB / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.3661, allocations: 75.73 kB / 425.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.3661, allocations: 8 kB / 425.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.3664, allocations: 139.8 kB / 426 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.3664, allocations: 35.83 kB / 426.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.3665, allocations: 59.67 kB / 426.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.3669, allocations: 219.6 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3669, allocations: 4 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3669, allocations: 0 / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3669, allocations: 0 / 426.3 MB, free: 10.87 MB / 334.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.001594/0.3685, allocations: 497.3 kB / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3685, allocations: 12.03 kB / 426.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.328e-05/0.3686, allocations: 42.73 kB / 426.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.37, allocations: 180.6 kB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3703, allocations: 154.3 kB / 427.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3703, allocations: 12.31 kB / 427.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3703, allocations: 12.38 kB / 427.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.3708, allocations: 177.7 kB / 427.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3708, allocations: 0 / 427.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3708, allocations: 0 / 427.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.3709, allocations: 8 kB / 427.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.3713, allocations: 163.9 kB / 427.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.3723, allocations: 0.5033 MB / 428.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.3727, allocations: 162.4 kB / 428.2 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.373, allocations: 84.8 kB / 428.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.373, allocations: 3.984 kB / 428.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.373, allocations: 42.48 kB / 428.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.373, allocations: 0 / 428.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007369/0.3738, allocations: 260.8 kB / 428.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.3738, allocations: 63.34 kB / 428.7 MB, free: 8.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.374, allocations: 182.3 kB / 428.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3741, allocations: 29.69 kB / 428.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.3742, allocations: 116.2 kB / 429 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.3742, allocations: 43.64 kB / 429 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.3743, allocations: 29.7 kB / 429.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3744, allocations: 326.8 kB / 429.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.3746, allocations: 75.94 kB / 429.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.3748, allocations: 86.05 kB / 429.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.3752, allocations: 166.4 kB / 429.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3752, allocations: 4 kB / 429.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000477/0.3757, allocations: 217.4 kB / 429.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3757, allocations: 11.94 kB / 429.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3757, allocations: 4 kB / 429.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3758, allocations: 0 / 429.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.376, allocations: 31.97 kB / 430 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.376, allocations: 4 kB / 430 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.3762, allocations: 27.94 kB / 430 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3762, allocations: 7.984 kB / 430 MB, free: 6.984 MB / 334.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.0001416/0.3763, allocations: 129.7 kB / 430.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.3764, allocations: 23.83 kB / 430.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.377, allocations: 246.9 kB / 430.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.377, allocations: 0 / 430.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.377, allocations: 4 kB / 430.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.377, allocations: 0 / 430.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.3774, allocations: 244.6 kB / 430.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3774, allocations: 0 / 430.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.3776, allocations: 47.78 kB / 430.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3776, allocations: 0 / 430.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3776, allocations: 7.984 kB / 430.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3776, allocations: 4 kB / 430.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3776, allocations: 0 / 430.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.3782, allocations: 311.3 kB / 431 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.3783, allocations: 23.78 kB / 431 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.3783, allocations: 4 kB / 431 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3785, allocations: 11.98 kB / 431 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.3785, allocations: 19.91 kB / 431.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3785, allocations: 4 kB / 431.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3787, allocations: 144.2 kB / 431.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3787, allocations: 4 kB / 431.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.379, allocations: 31.95 kB / 431.2 MB, free: 5.668 MB / 334.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.0009339/0.3799, allocations: 0.8594 MB / 432.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.3804, allocations: 163.8 kB / 432.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.3804, allocations: 4 kB / 432.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3806, allocations: 95.8 kB / 432.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.381, allocations: 20.12 kB / 432.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.384, allocations: 2.144 MB / 434.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3843, allocations: 0.7202 MB / 435.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.3845, allocations: 33.41 kB / 435.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3846, allocations: 55.41 kB / 435.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3846, allocations: 0 / 435.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.417, allocations: 4.031 MB / 439.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.02, allocations: 2.234 kB / 439.4 MB, free: 13.55 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.901401416998851]