Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09471, allocations: 44.52 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.4914, allocations: 72.74 MB / 381.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.4918, allocations: 68.97 kB / 381.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.5085, allocations: 3.757 MB / 385.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5086, allocations: 1.281 kB / 385.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.5086, allocations: 1.469 kB / 385.1 MB, free: 14.1 MB / 314.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.003209/0.5118, allocations: 0.6557 MB / 385.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5119, allocations: 8.219 kB / 385.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.512, allocations: 48.5 kB / 385.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.512, allocations: 15.84 kB / 385.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.5122, allocations: 194.2 kB / 386 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.5122, allocations: 11.14 kB / 386 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.5123, allocations: 11.91 kB / 386 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/0.5129, allocations: 182.6 kB / 386.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5129, allocations: 0 / 386.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.513, allocations: 18.56 kB / 386.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.513, allocations: 3.062 kB / 386.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/0.5138, allocations: 198.2 kB / 386.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.5151, allocations: 0.5576 MB / 387 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.5157, allocations: 176.7 kB / 387.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.5158, allocations: 9.344 kB / 387.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.5158, allocations: 34.05 kB / 387.2 MB, free: 13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.755e-06/0.5158, allocations: 0 / 387.2 MB, free: 13 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001249/0.5171, allocations: 380.7 kB / 387.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.5171, allocations: 54 kB / 387.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.5174, allocations: 161.4 kB / 387.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.5174, allocations: 29.39 kB / 387.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.5175, allocations: 174.5 kB / 388 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.5176, allocations: 48.25 kB / 388 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.5176, allocations: 1.281 kB / 388 MB, free: 12.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.5177, allocations: 322.8 kB / 388.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.518, allocations: 76.3 kB / 388.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.5184, allocations: 102.8 kB / 388.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.5188, allocations: 98.88 kB / 388.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5188, allocations: 1.312 kB / 388.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008198/0.5196, allocations: 233.8 kB / 388.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5197, allocations: 5.812 kB / 388.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5197, allocations: 1.312 kB / 388.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5197, allocations: 1.344 kB / 388.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.5201, allocations: 38.17 kB / 388.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5201, allocations: 9.188 kB / 388.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.5204, allocations: 29.23 kB / 388.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.5205, allocations: 7.688 kB / 388.9 MB, free: 12.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.5206, allocations: 131 kB / 389.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.5207, allocations: 14.06 kB / 389.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/0.5216, allocations: 286.6 kB / 389.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.5216, allocations: 1.188 kB / 389.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5217, allocations: 1.188 kB / 389.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5217, allocations: 0.75 kB / 389.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.5221, allocations: 282 kB / 389.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5221, allocations: 0 / 389.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.5225, allocations: 41.67 kB / 389.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5225, allocations: 9.266 kB / 389.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.5225, allocations: 9.656 kB / 389.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5225, allocations: 0 / 389.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5225, allocations: 1.375 kB / 389.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000843/0.5234, allocations: 349.6 kB / 390 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.5235, allocations: 98.72 kB / 390.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.5235, allocations: 3.312 kB / 390.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.5238, allocations: 14.59 kB / 390.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.5239, allocations: 18.72 kB / 390.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.5239, allocations: 6.047 kB / 390.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.5241, allocations: 140.4 kB / 390.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5241, allocations: 0 / 390.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003951/0.5245, allocations: 41.97 kB / 390.4 MB, free: 11.34 MB / 314.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.5255, allocations: 0.8811 MB / 391.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007386/0.5263, allocations: 206 kB / 391.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5263, allocations: 0 / 391.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.5267, allocations: 107.6 kB / 391.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.527, allocations: 18 kB / 391.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.5295, allocations: 1.564 MB / 393.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.5298, allocations: 0.7323 MB / 393.9 MB, free: 8.988 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.5299, allocations: 53.14 kB / 393.9 MB, free: 8.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.53, allocations: 4 kB / 393.9 MB, free: 8.977 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.533/3.063, allocations: 2.766 MB / 396.7 MB, free: 8.777 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat