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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3186, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003275/0.3219, allocations: 1.712 MB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3235, allocations: 0.7476 MB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.3236, allocations: 0 / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3239, allocations: 51.72 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.3241, allocations: 39.72 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.3251, allocations: 0.4903 MB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.3253, allocations: 127.5 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3255, allocations: 29.55 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3256, allocations: 59.7 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3258, allocations: 87.66 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3259, allocations: 16 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.3261, allocations: 127.8 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.3262, allocations: 27.86 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.3263, allocations: 67.64 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.3266, allocations: 202.2 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3267, allocations: 4 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.3267, allocations: 3.938 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3267, allocations: 3.938 kB / 412.5 MB, free: 13.75 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.001522/0.3282, allocations: 0.5258 MB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/0.3283, allocations: 12.03 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.825e-05/0.3283, allocations: 46.73 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006996/0.3291, allocations: 104.7 kB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3293, allocations: 204.1 kB / 413.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3293, allocations: 4.375 kB / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.3294, allocations: 8.375 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.3298, allocations: 168.7 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3298, allocations: 0 / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.3299, allocations: 8 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.3299, allocations: 4 kB / 413.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.3303, allocations: 159.8 kB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3315, allocations: 0.5627 MB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.3319, allocations: 142.6 kB / 414.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3321, allocations: 72.94 kB / 414.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3321, allocations: 8 kB / 414.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3322, allocations: 30.56 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.3322, allocations: 0 / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006342/0.3328, allocations: 213.4 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3329, allocations: 55.41 kB / 414.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.3331, allocations: 210.7 kB / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.3332, allocations: 29.7 kB / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3333, allocations: 120.2 kB / 415.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.3333, allocations: 35.69 kB / 415.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.3334, allocations: 29.7 kB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3336, allocations: 322.8 kB / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3337, allocations: 59.95 kB / 415.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3339, allocations: 92.25 kB / 415.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.3343, allocations: 164.4 kB / 415.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3343, allocations: 0 / 415.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004313/0.3348, allocations: 193.3 kB / 416 MB, free: 9.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3348, allocations: 8 kB / 416 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3348, allocations: 0 / 416 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3348, allocations: 4.125 kB / 416.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.335, allocations: 31.97 kB / 416.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3351, allocations: 7.938 kB / 416.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3352, allocations: 23.83 kB / 416.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3352, allocations: 4 kB / 416.1 MB, free: 9.867 MB / 334.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.0001452/0.3354, allocations: 141.6 kB / 416.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.3354, allocations: 19.91 kB / 416.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.3359, allocations: 186.9 kB / 416.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3359, allocations: 0 / 416.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.3359, allocations: 7.984 kB / 416.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3359, allocations: 0 / 416.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.3362, allocations: 245.5 kB / 416.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3362, allocations: 3.984 kB / 416.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.3364, allocations: 23.98 kB / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3364, allocations: 0 / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3364, allocations: 4 kB / 416.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3364, allocations: 4 kB / 416.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3365, allocations: 0 / 416.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.3369, allocations: 271.2 kB / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.337, allocations: 101 kB / 417.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3371, allocations: 4 kB / 417.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3372, allocations: 7.984 kB / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.3373, allocations: 11.98 kB / 417.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3373, allocations: 8 kB / 417.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3375, allocations: 156.8 kB / 417.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3375, allocations: 0 / 417.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3378, allocations: 31.98 kB / 417.3 MB, free: 8.559 MB / 334.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.0008528/0.3386, allocations: 0.8059 MB / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.3391, allocations: 135.8 kB / 418.3 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3391, allocations: 4.25 kB / 418.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.3393, allocations: 67.95 kB / 418.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3396, allocations: 12.55 kB / 418.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.3425, allocations: 2.138 MB / 420.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.343, allocations: 0.7356 MB / 421.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.3431, allocations: 33.41 kB / 421.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3432, allocations: 43.42 kB / 421.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3432, allocations: 0 / 421.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.3695, allocations: 3.438 MB / 424.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.634, allocations: 15.88 kB / 424.7 MB, free: 1.078 MB / 334.1 MB (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) 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) Reference file matches