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.001124/0.001124, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001187/0.001187, allocations: 194.8 kB / 18 MB, free: 5.07 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009761/0.0009761, allocations: 47.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2554, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00284/0.2583, allocations: 1.633 MB / 401.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2595, allocations: 0.6413 MB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.2595, allocations: 4 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.2598, allocations: 43.73 kB / 402.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.26, allocations: 39.72 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.2612, allocations: 0.6023 MB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.2614, allocations: 107.7 kB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.2615, allocations: 41.03 kB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.2617, allocations: 51.84 kB / 403.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.2618, allocations: 83.66 kB / 403.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2619, allocations: 8 kB / 403.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.2621, allocations: 135.8 kB / 403.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.2621, allocations: 31.84 kB / 403.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.2622, allocations: 63.59 kB / 403.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.2625, allocations: 217.1 kB / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2625, allocations: 0 / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2625, allocations: 0 / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2625, allocations: 4 kB / 403.9 MB, free: 5.121 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.001501/0.264, allocations: 0.5565 MB / 404.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2641, allocations: 8.031 kB / 404.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.2642, allocations: 46.73 kB / 404.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.2655, allocations: 176.5 kB / 404.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2657, allocations: 188.1 kB / 404.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2657, allocations: 16.36 kB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.2658, allocations: 12.38 kB / 404.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.2662, allocations: 177.7 kB / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2662, allocations: 0 / 405.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2662, allocations: 4 kB / 405.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.2663, allocations: 8 kB / 405.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.2667, allocations: 159.9 kB / 405.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.2676, allocations: 0.543 MB / 405.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.268, allocations: 170.4 kB / 405.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2682, allocations: 92.8 kB / 406 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2683, allocations: 0 / 406 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2683, allocations: 42.5 kB / 406.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.2683, allocations: 3.938 kB / 406.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000719/0.269, allocations: 257.6 kB / 406.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.2691, allocations: 55.41 kB / 406.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.2693, allocations: 186.3 kB / 406.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.2693, allocations: 25.7 kB / 406.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.2694, allocations: 120.2 kB / 406.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.2694, allocations: 43.36 kB / 406.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.2695, allocations: 29.7 kB / 406.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2697, allocations: 326.8 kB / 407.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2699, allocations: 71.88 kB / 407.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2701, allocations: 102 kB / 407.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.2705, allocations: 164.9 kB / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2705, allocations: 0 / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000476/0.271, allocations: 217.4 kB / 407.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.271, allocations: 8 kB / 407.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.271, allocations: 0 / 407.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.271, allocations: 0 / 407.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.2713, allocations: 31.97 kB / 407.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2713, allocations: 4 kB / 407.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.2715, allocations: 23.73 kB / 407.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.2715, allocations: 11.98 kB / 407.7 MB, free: 1.051 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.0001154/0.2716, allocations: 133.8 kB / 407.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.2717, allocations: 15.84 kB / 407.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.2723, allocations: 247 kB / 408.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2723, allocations: 0 / 408.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2723, allocations: 4 kB / 408.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2723, allocations: 0 / 408.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.2726, allocations: 281.4 kB / 408.4 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2726, allocations: 3.938 kB / 408.4 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.2729, allocations: 43.91 kB / 408.4 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2729, allocations: 0 / 408.4 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2729, allocations: 3.984 kB / 408.4 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2729, allocations: 4 kB / 408.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2729, allocations: 0 / 408.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.2735, allocations: 321.6 kB / 408.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.2735, allocations: 100.8 kB / 408.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2736, allocations: 8 kB / 408.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2738, allocations: 7.984 kB / 408.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.2738, allocations: 19.97 kB / 408.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2738, allocations: 4 kB / 408.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.274, allocations: 144.2 kB / 409 MB, free: 15.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.274, allocations: 0 / 409 MB, free: 15.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000282/0.2743, allocations: 35.88 kB / 409.1 MB, free: 15.6 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.0008483/0.2751, allocations: 0.8682 MB / 409.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.2756, allocations: 171.8 kB / 410.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2756, allocations: 0 / 410.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.2758, allocations: 99.88 kB / 410.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.2762, allocations: 19.11 kB / 410.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.279, allocations: 2.142 MB / 412.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2793, allocations: 0.7241 MB / 413.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.2795, allocations: 29.42 kB / 413.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2796, allocations: 59.39 kB / 413.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2796, allocations: 0 / 413.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.3001, allocations: 3.792 MB / 417 MB, free: 7.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.173, allocations: 11.14 kB / 417 MB, free: 7.652 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