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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 108.2 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 47.94 kB / 350.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003013/0.2992, allocations: 1.644 MB / 401.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3006, allocations: 0.6414 MB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.3007, allocations: 4 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.301, allocations: 55.7 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.3012, allocations: 31.8 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3023, allocations: 0.602 MB / 403.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3026, allocations: 107.7 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3027, allocations: 29.09 kB / 403.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3029, allocations: 71.7 kB / 403.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.303, allocations: 75.73 kB / 403.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.3031, allocations: 8 kB / 403.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.3033, allocations: 131.8 kB / 403.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.3033, allocations: 43.83 kB / 403.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3034, allocations: 51.67 kB / 403.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.3037, allocations: 222.2 kB / 403.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3037, allocations: 0 / 403.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3037, allocations: 0 / 403.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3038, allocations: 0 / 403.9 MB, free: 5.148 MB / 318.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.001529/0.3053, allocations: 0.561 MB / 404.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3053, allocations: 8.031 kB / 404.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.3054, allocations: 46.69 kB / 404.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.3068, allocations: 176.6 kB / 404.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.307, allocations: 196.1 kB / 404.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.307, allocations: 8.375 kB / 404.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.3071, allocations: 12.31 kB / 404.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.3075, allocations: 185.6 kB / 405.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3075, allocations: 0 / 405.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3075, allocations: 4 kB / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.3075, allocations: 8 kB / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.308, allocations: 159.9 kB / 405.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.3089, allocations: 0.5354 MB / 405.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.3094, allocations: 170.4 kB / 406 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.3096, allocations: 88.8 kB / 406 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3096, allocations: 11.94 kB / 406 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3096, allocations: 38.5 kB / 406.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.3097, allocations: 0 / 406.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007003/0.3104, allocations: 253.7 kB / 406.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3104, allocations: 59.39 kB / 406.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3106, allocations: 186.4 kB / 406.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3106, allocations: 25.7 kB / 406.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.3107, allocations: 116.2 kB / 406.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.3108, allocations: 51.62 kB / 406.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.3108, allocations: 37.64 kB / 406.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.311, allocations: 322.8 kB / 407.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.3112, allocations: 67.95 kB / 407.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.3114, allocations: 94.45 kB / 407.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.3117, allocations: 173.6 kB / 407.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3118, allocations: 0 / 407.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004532/0.3122, allocations: 209.4 kB / 407.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3122, allocations: 11.94 kB / 407.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3123, allocations: 4.062 kB / 407.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3123, allocations: 0 / 407.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3125, allocations: 43.95 kB / 407.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3125, allocations: 0 / 407.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.3127, allocations: 19.94 kB / 407.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3127, allocations: 4 kB / 407.7 MB, free: 1.066 MB / 318.1 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.0001112/0.3128, allocations: 137.7 kB / 407.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.3129, allocations: 19.84 kB / 407.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.3135, allocations: 249.6 kB / 408.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3135, allocations: 0 / 408.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3135, allocations: 0 / 408.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3135, allocations: 4 kB / 408.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.3138, allocations: 269.5 kB / 408.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3138, allocations: 0 / 408.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.314, allocations: 51.83 kB / 408.4 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.314, allocations: 7.938 kB / 408.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3141, allocations: 3.938 kB / 408.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3141, allocations: 4 kB / 408.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3141, allocations: 0 / 408.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.3146, allocations: 311.3 kB / 408.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.3147, allocations: 104.9 kB / 408.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3147, allocations: 0 / 408.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3149, allocations: 15.98 kB / 408.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.3149, allocations: 11.98 kB / 408.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.315, allocations: 8 kB / 408.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3151, allocations: 140.2 kB / 409 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3151, allocations: 3.938 kB / 409 MB, free: 15.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3154, allocations: 35.94 kB / 409.1 MB, free: 15.61 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 (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.000799/0.3162, allocations: 0.863 MB / 409.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.3166, allocations: 175.8 kB / 410.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3166, allocations: 0 / 410.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.3168, allocations: 99.88 kB / 410.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3172, allocations: 12 kB / 410.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.3199, allocations: 2.14 MB / 412.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.3201, allocations: 0.728 MB / 413.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.3203, allocations: 37.39 kB / 413.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.3204, allocations: 59.41 kB / 413.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3204, allocations: 0 / 413.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.3417, allocations: 3.807 MB / 417 MB, free: 7.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.781, allocations: 8.562 kB / 417 MB, free: 7.656 MB / 334.1 MB (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) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches