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.001334/0.001334, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001538/0.001538, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.427/1.427, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 57.64 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003422/0.3112, allocations: 1.559 MB / 397.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3126, allocations: 0.6499 MB / 398.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.3126, allocations: 1.406 kB / 398.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3129, allocations: 52.78 kB / 398.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.3131, allocations: 40.25 kB / 398.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3144, allocations: 0.5839 MB / 399.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.3147, allocations: 108.4 kB / 399.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3148, allocations: 31.34 kB / 399.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.315, allocations: 65.73 kB / 399.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.3152, allocations: 66.17 kB / 399.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.3152, allocations: 10.16 kB / 399.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.3154, allocations: 113.3 kB / 399.6 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.3155, allocations: 37.17 kB / 399.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.3156, allocations: 51.27 kB / 399.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.316, allocations: 218.9 kB / 399.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.316, allocations: 2.016 kB / 399.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.316, allocations: 0 / 399.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.316, allocations: 0 / 399.9 MB, free: 6.707 MB / 318.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.001663/0.3177, allocations: 0.4967 MB / 400.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3177, allocations: 13.23 kB / 400.4 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.3177, allocations: 45.38 kB / 400.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.3192, allocations: 188.2 kB / 400.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.3194, allocations: 159.3 kB / 400.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3194, allocations: 12.58 kB / 400.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.3195, allocations: 5.781 kB / 400.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.32, allocations: 178.8 kB / 401 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.32, allocations: 1.281 kB / 401 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.32, allocations: 4.703 kB / 401 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.32, allocations: 6.938 kB / 401 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3204, allocations: 161.7 kB / 401.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.3215, allocations: 497.3 kB / 401.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.322, allocations: 158.4 kB / 401.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3222, allocations: 85.5 kB / 401.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.3222, allocations: 2.375 kB / 401.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3222, allocations: 40.48 kB / 401.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.345e-06/0.3222, allocations: 0 / 401.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000744/0.323, allocations: 269.7 kB / 402.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.323, allocations: 57.86 kB / 402.2 MB, free: 5.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3232, allocations: 190 kB / 402.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3232, allocations: 29.7 kB / 402.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.3233, allocations: 110 kB / 402.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.3234, allocations: 52.03 kB / 402.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.3235, allocations: 36.09 kB / 402.6 MB, free: 4.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.3235, allocations: 321.1 kB / 403 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.3238, allocations: 72.08 kB / 403 MB, free: 4.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.324, allocations: 90.25 kB / 403.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.3244, allocations: 167.7 kB / 403.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3244, allocations: 0.9062 kB / 403.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005335/0.3249, allocations: 221.9 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3249, allocations: 4.656 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3249, allocations: 1 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3249, allocations: 2.438 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3252, allocations: 33.5 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3252, allocations: 2.25 kB / 403.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3254, allocations: 21.75 kB / 403.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.3254, allocations: 6.688 kB / 403.6 MB, free: 4.383 MB / 318.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.0001221/0.3255, allocations: 134.5 kB / 403.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.3256, allocations: 22.41 kB / 403.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.3262, allocations: 243.3 kB / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3262, allocations: 2.062 kB / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3262, allocations: 2.344 kB / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3262, allocations: 0 / 404 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3266, allocations: 221.2 kB / 404.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3266, allocations: 4.547 kB / 404.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.3268, allocations: 44.73 kB / 404.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3268, allocations: 5.156 kB / 404.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.3269, allocations: 2.984 kB / 404.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3269, allocations: 1.656 kB / 404.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3269, allocations: 1.375 kB / 404.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.3275, allocations: 325.6 kB / 404.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.3276, allocations: 26.75 kB / 404.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.3276, allocations: 5.781 kB / 404.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3278, allocations: 12.45 kB / 404.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.3279, allocations: 20.05 kB / 404.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3279, allocations: 5.484 kB / 404.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.328, allocations: 146.4 kB / 404.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.328, allocations: 0 / 404.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003414/0.3284, allocations: 26.92 kB / 404.8 MB, free: 3.574 MB / 318.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.0009148/0.3293, allocations: 0.8588 MB / 405.7 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006342/0.3299, allocations: 168.1 kB / 405.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3299, allocations: 0 / 405.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.3302, allocations: 95.52 kB / 405.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3305, allocations: 16.86 kB / 405.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.3337, allocations: 2.114 MB / 408 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.3339, allocations: 114.5 kB / 408.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.334, allocations: 33.03 kB / 408.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3342, allocations: 58.52 kB / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3342, allocations: 0 / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.37, allocations: 4.47 MB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.82, allocations: 6.625 kB / 412.7 MB, free: 14.91 MB / 334.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/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: 14.425550863612443]