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.001295/0.001295, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002076/0.002076, allocations: 206 kB / 23.72 MB, free: 4.492 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.002113/0.002113, allocations: 63.89 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2929, allocations: 53.41 MB / 431.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003209/0.2961, allocations: 1.671 MB / 432.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2976, allocations: 0.7126 MB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.2976, allocations: 4 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.2979, allocations: 51.72 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.2982, allocations: 39.72 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2992, allocations: 478.2 kB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.2995, allocations: 119.6 kB / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2996, allocations: 17.73 kB / 434.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2997, allocations: 63.7 kB / 434.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.2999, allocations: 83.61 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3, allocations: 12 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.3002, allocations: 123.8 kB / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.3003, allocations: 35.89 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.3004, allocations: 51.67 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.3007, allocations: 199.6 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3007, allocations: 0 / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3007, allocations: 3.938 kB / 434.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3007, allocations: 0 / 434.8 MB, free: 2.859 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.001348/0.3021, allocations: 473.3 kB / 435.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3021, allocations: 11.98 kB / 435.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.3022, allocations: 42.73 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.3028, allocations: 104.7 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3031, allocations: 173.2 kB / 435.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3031, allocations: 8.359 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3031, allocations: 12.38 kB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.3035, allocations: 170.4 kB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3035, allocations: 0 / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3035, allocations: 0 / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.3035, allocations: 8 kB / 435.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.3039, allocations: 159.9 kB / 435.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.305, allocations: 0.4955 MB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.3054, allocations: 142.5 kB / 436.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.3056, allocations: 60.81 kB / 436.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3056, allocations: 4 kB / 436.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3056, allocations: 34.56 kB / 436.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3056, allocations: 0 / 436.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006331/0.3062, allocations: 213.6 kB / 436.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.3063, allocations: 55.41 kB / 436.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.3066, allocations: 215.1 kB / 437.1 MB, free: 364 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3066, allocations: 25.7 kB / 437.1 MB, free: 332 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.3067, allocations: 120.3 kB / 437.2 MB, free: 204 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.3067, allocations: 39.64 kB / 437.3 MB, free: 164 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.3068, allocations: 37.66 kB / 437.3 MB, free: 120 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.307, allocations: 322.8 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3071, allocations: 55.95 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3073, allocations: 100.2 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.3077, allocations: 156.5 kB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3077, allocations: 0 / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004493/0.3081, allocations: 197.4 kB / 438.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3081, allocations: 10.81 kB / 438.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3081, allocations: 0 / 438.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3082, allocations: 4 kB / 438.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3083, allocations: 27.92 kB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3083, allocations: 4 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3085, allocations: 23.83 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3085, allocations: 8 kB / 438.2 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.0001232/0.3086, allocations: 133.9 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.3086, allocations: 15.91 kB / 438.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.3091, allocations: 182.9 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3091, allocations: 4 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3091, allocations: 0 / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3091, allocations: 0 / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.3094, allocations: 204.6 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3094, allocations: 7.984 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3095, allocations: 27.98 kB / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.3095, allocations: 0 / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3095, allocations: 4 kB / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3095, allocations: 0 / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3095, allocations: 0 / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.31, allocations: 275.2 kB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.31, allocations: 31.83 kB / 439.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3101, allocations: 7.984 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.3102, allocations: 4 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.3103, allocations: 15.98 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3103, allocations: 4 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.3104, allocations: 152.5 kB / 439.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3104, allocations: 0 / 439.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3107, allocations: 28.05 kB / 439.3 MB, free: 14.03 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.0008423/0.3116, allocations: 0.8137 MB / 440.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.312, allocations: 127.9 kB / 440.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.312, allocations: 0 / 440.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3122, allocations: 67.89 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3125, allocations: 19.97 kB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.3153, allocations: 2.143 MB / 442.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3155, allocations: 115.2 kB / 442.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3156, allocations: 29.41 kB / 442.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.3157, allocations: 47.42 kB / 442.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3157, allocations: 0 / 442.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.3486, allocations: 4.105 MB / 446.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.13, allocations: 6.797 kB / 446.7 MB, free: 6.539 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.63176282402128]