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.000835/0.000835, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007544/0.0007544, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8817/0.8817, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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 1.694e-06/1.694e-06, allocations: 0 / 318.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.814e-05, allocations: 6.219 kB / 318.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001918/0.001936, allocations: 1.6 MB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003062, allocations: 0.5959 MB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.003115, allocations: 4 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.003347, allocations: 59.53 kB / 320.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.003505, allocations: 31.8 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.004204, allocations: 0.5592 MB / 321.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004375, allocations: 123.7 kB / 321.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.004471, allocations: 17.3 kB / 321.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.004622, allocations: 91.72 kB / 321.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.004745, allocations: 63.8 kB / 321.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.004765, allocations: 8 kB / 321.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.004893, allocations: 95.86 kB / 321.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.004946, allocations: 43.83 kB / 321.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.004982, allocations: 31.91 kB / 321.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.00522, allocations: 223.3 kB / 321.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005221, allocations: 0 / 321.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005222, allocations: 3.938 kB / 321.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005227, allocations: 0 / 321.9 MB, free: 2.836 MB / 282.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.0009193/0.006146, allocations: 496.6 kB / 322.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.006185, allocations: 8.922 kB / 322.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.006234, allocations: 46.73 kB / 322.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.006912, allocations: 180.6 kB / 322.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.007092, allocations: 153.6 kB / 322.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.007107, allocations: 12.31 kB / 322.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.007123, allocations: 4.375 kB / 322.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.007392, allocations: 190.1 kB / 323 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.0074, allocations: 192 / 323 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.007415, allocations: 8.125 kB / 323 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.007433, allocations: 4 kB / 323 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.007679, allocations: 159.9 kB / 323.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.008286, allocations: 483.4 kB / 323.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.008527, allocations: 158.4 kB / 323.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.008647, allocations: 88.8 kB / 323.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.008668, allocations: 0 / 323.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.008689, allocations: 34.56 kB / 323.9 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.00869, allocations: 4 kB / 323.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004222/0.009112, allocations: 257.6 kB / 324.2 MB, free: 472 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.009145, allocations: 51.41 kB / 324.2 MB, free: 408 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.00927, allocations: 198.2 kB / 324.4 MB, free: 200 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.009286, allocations: 33.7 kB / 324.4 MB, free: 160 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.009346, allocations: 108.3 kB / 324.6 MB, free: 44 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.00939, allocations: 51.62 kB / 324.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.009436, allocations: 33.61 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.009525, allocations: 326.8 kB / 325 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.009635, allocations: 71.94 kB / 325 MB, free: 15.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.00975, allocations: 86.52 kB / 325.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.009975, allocations: 170.3 kB / 325.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.009977, allocations: 0 / 325.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002705/0.01025, allocations: 213.5 kB / 325.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01026, allocations: 4 kB / 325.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.01026, allocations: 0 / 325.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01028, allocations: 12 kB / 325.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01041, allocations: 31.97 kB / 325.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.01042, allocations: 3.984 kB / 325.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.01049, allocations: 27.83 kB / 325.6 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.01051, allocations: 7.984 kB / 325.6 MB, free: 14.99 MB / 298.7 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.0001042/0.01061, allocations: 129.8 kB / 325.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.01064, allocations: 11.95 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.01102, allocations: 257.8 kB / 326 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01103, allocations: 7.938 kB / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.01103, allocations: 0 / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01104, allocations: 0 / 326 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.01125, allocations: 216.6 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01125, allocations: 4 kB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01136, allocations: 43.91 kB / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01136, allocations: 0 / 326.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.01138, allocations: 7.984 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01138, allocations: 3.938 kB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01138, allocations: 4 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.01169, allocations: 323.1 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.01171, allocations: 19.84 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.01172, allocations: 4 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.0118, allocations: 15.92 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.01184, allocations: 11.97 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01185, allocations: 8 kB / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.586e-05/0.01194, allocations: 148.2 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01194, allocations: 0 / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.01212, allocations: 32 kB / 326.8 MB, free: 13.7 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 (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.0008098/0.01293, allocations: 0.8489 MB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.01319, allocations: 170.1 kB / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01319, allocations: 0 / 327.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.0133, allocations: 95.86 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01352, allocations: 19.88 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.01527, allocations: 2.143 MB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.03e-05/0.01535, allocations: 111.3 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.736e-05/0.01542, allocations: 37.45 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.01551, allocations: 52.47 kB / 330.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01551, allocations: 0 / 330.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.03622, allocations: 4.604 MB / 334.9 MB, free: 5.617 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/6.838, allocations: 5.453 kB / 334.9 MB, free: 5.613 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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: 8.57549611106515]