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.0008413/0.0008413, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008542/0.0008542, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9291/0.9291, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.462e-06/1.462e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.17e-05, allocations: 3.266 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002072/0.002083, allocations: 1.68 MB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.002991, allocations: 0.7126 MB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.003043, allocations: 4 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.003289, allocations: 51.61 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.003457, allocations: 47.64 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.004051, allocations: 466 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.004236, allocations: 131.5 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.004334, allocations: 21.8 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.00443, allocations: 79.67 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.004597, allocations: 71.86 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.004618, allocations: 8 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.004782, allocations: 123.8 kB / 327.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.004827, allocations: 31.86 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.004865, allocations: 43.83 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.005096, allocations: 219.3 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005098, allocations: 0 / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005099, allocations: 3.938 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.005102, allocations: 0 / 328.1 MB, free: 12.23 MB / 298.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.0008101/0.005913, allocations: 469.4 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.005953, allocations: 11.98 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.005992, allocations: 38.75 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.006372, allocations: 108.7 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.006576, allocations: 166.3 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006594, allocations: 8.375 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.006614, allocations: 12.38 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.006873, allocations: 158 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006883, allocations: 192 / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.0069, allocations: 8.125 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.00692, allocations: 8 kB / 329.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.007169, allocations: 151.9 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.007908, allocations: 0.5033 MB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.008173, allocations: 134.6 kB / 329.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.008269, allocations: 64.81 kB / 330 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.008288, allocations: 0 / 330 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.008305, allocations: 38.5 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.008306, allocations: 4 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003616/0.008667, allocations: 213.5 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.0087, allocations: 59.34 kB / 330.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.008846, allocations: 218.9 kB / 330.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.008861, allocations: 29.7 kB / 330.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.008931, allocations: 120.2 kB / 330.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.008951, allocations: 31.73 kB / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.008996, allocations: 37.66 kB / 330.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.00909, allocations: 330.8 kB / 331 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.009183, allocations: 59.95 kB / 331.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.009289, allocations: 95.23 kB / 331.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.009486, allocations: 148.2 kB / 331.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.009489, allocations: 4 kB / 331.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002425/0.009731, allocations: 197.8 kB / 331.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.009746, allocations: 8.031 kB / 331.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.009751, allocations: 3.938 kB / 331.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.009764, allocations: 7.938 kB / 331.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.009855, allocations: 27.98 kB / 331.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.009863, allocations: 7.984 kB / 331.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.009919, allocations: 20.02 kB / 331.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.009929, allocations: 4 kB / 331.6 MB, free: 8.562 MB / 298.7 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 8.129e-05/0.01001, allocations: 133.8 kB / 331.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.01004, allocations: 19.84 kB / 331.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.01032, allocations: 183 kB / 331.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.01032, allocations: 0 / 331.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01032, allocations: 0 / 331.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01033, allocations: 4 kB / 331.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.01049, allocations: 204.6 kB / 332.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.01049, allocations: 0 / 332.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.01056, allocations: 23.92 kB / 332.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01056, allocations: 3.938 kB / 332.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01057, allocations: 8 kB / 332.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01057, allocations: 0 / 332.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01057, allocations: 3.984 kB / 332.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.0108, allocations: 263.4 kB / 332.4 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.01085, allocations: 31.88 kB / 332.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.01086, allocations: 7.938 kB / 332.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.01092, allocations: 4 kB / 332.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.01096, allocations: 7.984 kB / 332.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.01097, allocations: 7.984 kB / 332.5 MB, free: 7.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.789e-05/0.01106, allocations: 156.2 kB / 332.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01106, allocations: 0 / 332.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.01123, allocations: 27.95 kB / 332.7 MB, free: 7.426 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 (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.0007762/0.01201, allocations: 0.8098 MB / 333.5 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01225, allocations: 131.8 kB / 333.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01225, allocations: 0 / 333.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.01234, allocations: 68.16 kB / 333.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01257, allocations: 35.25 kB / 333.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.01436, allocations: 2.135 MB / 335.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.094e-05/0.01444, allocations: 115.3 kB / 335.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.104e-05/0.01451, allocations: 37.45 kB / 336 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.01459, allocations: 44.48 kB / 336 MB, free: 3.902 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01459, allocations: 3.938 kB / 336 MB, free: 3.898 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.03271, allocations: 4.228 MB / 340.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/6.666, allocations: 0 / 340.3 MB, free: 15.77 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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: 8.403587286360562]