Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001592/0.001592, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.963e-05, allocations: 0 / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.0941, allocations: 47.57 MB / 369.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.4902, allocations: 76.91 MB / 446.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4905, allocations: 66.03 kB / 446.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0174/0.5079, allocations: 3.737 MB / 449.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.508, allocations: 0 / 449.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.508, allocations: 0 / 449.9 MB, free: 12.79 MB / 330.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.003387/0.5114, allocations: 0.6509 MB / 450.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.5115, allocations: 8.031 kB / 450.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.069e-05/0.5116, allocations: 46.98 kB / 450.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.5117, allocations: 15.81 kB / 450.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.5119, allocations: 195.6 kB / 450.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.5119, allocations: 7.922 kB / 450.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.512, allocations: 11.62 kB / 450.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.5125, allocations: 167.6 kB / 451 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5125, allocations: 0 / 451 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.5125, allocations: 10.81 kB / 451 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.5126, allocations: 4 kB / 451 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.5131, allocations: 165.9 kB / 451.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.5145, allocations: 0.5422 MB / 451.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.515, allocations: 166.5 kB / 451.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.5153, allocations: 97.95 kB / 451.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.5153, allocations: 0 / 451.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.5154, allocations: 45.56 kB / 452 MB, free: 10.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.5154, allocations: 0 / 452 MB, free: 10.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000587/0.516, allocations: 177.5 kB / 452.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.516, allocations: 51.41 kB / 452.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.5163, allocations: 165.5 kB / 452.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.5163, allocations: 32.58 kB / 452.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5165, allocations: 172.2 kB / 452.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.5165, allocations: 57.83 kB / 452.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5166, allocations: 0 / 452.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5167, allocations: 314.3 kB / 452.9 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.5169, allocations: 63.34 kB / 453 MB, free: 9.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.5171, allocations: 96.42 kB / 453.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.5173, allocations: 69.28 kB / 453.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5174, allocations: 0 / 453.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005419/0.5179, allocations: 196.6 kB / 453.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.518, allocations: 4 kB / 453.4 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.518, allocations: 3.984 kB / 453.4 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.518, allocations: 8.094 kB / 453.4 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.5185, allocations: 43.22 kB / 453.4 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5185, allocations: 0 / 453.4 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.5188, allocations: 23.83 kB / 453.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.5188, allocations: 6.75 kB / 453.4 MB, free: 9.516 MB / 330.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 () * 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.0001278/0.519, allocations: 103.9 kB / 453.5 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.519, allocations: 23.77 kB / 453.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.5198, allocations: 240.6 kB / 453.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5198, allocations: 7.953 kB / 453.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5198, allocations: 0 / 453.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5198, allocations: 0 / 453.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.5203, allocations: 287.5 kB / 454.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5203, allocations: 0 / 454.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.5207, allocations: 39.84 kB / 454.1 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.5207, allocations: 8 kB / 454.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.5208, allocations: 0 / 454.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5208, allocations: 0 / 454.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5208, allocations: 7.938 kB / 454.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.5214, allocations: 311.9 kB / 454.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.5215, allocations: 88.92 kB / 454.5 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.5216, allocations: 4 kB / 454.5 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.5219, allocations: 19.92 kB / 454.6 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.5219, allocations: 11.92 kB / 454.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.522, allocations: 15.88 kB / 454.6 MB, free: 8.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.5222, allocations: 140.1 kB / 454.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5222, allocations: 0 / 454.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.5226, allocations: 35.75 kB / 454.8 MB, free: 8.297 MB / 330.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 () * 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.001072/0.5237, allocations: 0.8512 MB / 455.6 MB, free: 7.477 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5242, allocations: 161.3 kB / 455.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5242, allocations: 0 / 455.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.5245, allocations: 94.11 kB / 455.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.5248, allocations: 20.14 kB / 455.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.5258, allocations: 330.6 kB / 456.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5262, allocations: 0.7244 MB / 456.9 MB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.5265, allocations: 60.23 kB / 457 MB, free: 6.188 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5265, allocations: 3.938 kB / 457 MB, free: 6.184 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.63/3.157, allocations: 2.793 MB / 459.8 MB, free: 3.414 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat