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.001467/0.001467, allocations: 114 kB / 20.43 MB, free: 1.457 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.001553/0.001553, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 8 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.001934/0.001934, allocations: 59.91 kB / 377.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3776, allocations: 53.41 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003459/0.3811, allocations: 1.733 MB / 432.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3826, allocations: 0.771 MB / 433.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.3827, allocations: 4 kB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.383, allocations: 47.72 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.3832, allocations: 39.72 kB / 433.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3843, allocations: 0.5209 MB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.3845, allocations: 119.6 kB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3846, allocations: 17.69 kB / 434.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3848, allocations: 67.75 kB / 434.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.385, allocations: 83.67 kB / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.385, allocations: 15.94 kB / 434.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.3853, allocations: 119.9 kB / 434.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.3854, allocations: 43.83 kB / 434.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.3854, allocations: 59.61 kB / 434.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.3858, allocations: 203.6 kB / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3858, allocations: 0 / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3858, allocations: 0 / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3858, allocations: 0 / 435 MB, free: 2.879 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.001433/0.3873, allocations: 469.3 kB / 435.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3873, allocations: 12.03 kB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.3874, allocations: 46.73 kB / 435.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.388, allocations: 100.7 kB / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3883, allocations: 173.3 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3883, allocations: 8.375 kB / 435.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.3883, allocations: 4.375 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.3887, allocations: 166.4 kB / 435.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3887, allocations: 4 kB / 435.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.3887, allocations: 8 kB / 436 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.3888, allocations: 4 kB / 436 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.3892, allocations: 155.9 kB / 436.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3903, allocations: 0.5267 MB / 436.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.3907, allocations: 146.5 kB / 436.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.3909, allocations: 64.8 kB / 436.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.3909, allocations: 4 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.391, allocations: 34.56 kB / 436.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.391, allocations: 0 / 436.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006377/0.3916, allocations: 213.6 kB / 437.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3916, allocations: 51.41 kB / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3919, allocations: 219.1 kB / 437.4 MB, free: 356 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3919, allocations: 25.7 kB / 437.4 MB, free: 324 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.392, allocations: 124.2 kB / 437.5 MB, free: 192 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.392, allocations: 35.69 kB / 437.5 MB, free: 156 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.3921, allocations: 29.7 kB / 437.6 MB, free: 120 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3923, allocations: 326.8 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3924, allocations: 63.89 kB / 437.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3926, allocations: 88.25 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.393, allocations: 152.2 kB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.393, allocations: 0 / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004309/0.3934, allocations: 197.7 kB / 438.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3934, allocations: 8 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3934, allocations: 96 / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3935, allocations: 7.938 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3937, allocations: 39.91 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3937, allocations: 4 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3938, allocations: 16 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3938, allocations: 12 kB / 438.5 MB, free: 15.18 MB / 350.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.000127/0.3939, allocations: 137.7 kB / 438.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.394, allocations: 19.86 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.3945, allocations: 178.9 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.3945, allocations: 4 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3945, allocations: 0 / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3945, allocations: 7.984 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.3948, allocations: 216.6 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3948, allocations: 0 / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.3949, allocations: 31.97 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3949, allocations: 0 / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3949, allocations: 0 / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3949, allocations: 4 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3949, allocations: 0 / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.3954, allocations: 271.2 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.3955, allocations: 27.89 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.3955, allocations: 4 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3956, allocations: 7.984 kB / 439.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.3957, allocations: 7.984 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3957, allocations: 4 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3958, allocations: 152.5 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3958, allocations: 0 / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3961, allocations: 39.89 kB / 439.6 MB, free: 14.01 MB / 350.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.0008258/0.397, allocations: 0.802 MB / 440.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.3974, allocations: 131.8 kB / 440.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3974, allocations: 0 / 440.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.3976, allocations: 67.89 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3979, allocations: 16.78 kB / 440.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.4007, allocations: 2.15 MB / 442.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4011, allocations: 0.7239 MB / 443.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.4012, allocations: 41.38 kB / 443.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.4013, allocations: 43.42 kB / 443.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4013, allocations: 0 / 443.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.4337, allocations: 3.649 MB / 447.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.15, allocations: 3.562 kB / 447.2 MB, free: 6.34 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.825232808001601]