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.002083/0.002082, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 96.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.753e-05, allocations: 4 kB / 314.9 MB, free: 9.078 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3722, allocations: 47.56 MB / 362.4 MB, free: 45.75 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.493, allocations: 76.25 MB / 438.7 MB, free: 9.988 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4933, allocations: 63.97 kB / 438.7 MB, free: 9.926 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.5111, allocations: 3.691 MB / 442.4 MB, free: 6.27 MB / 331.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.5111, allocations: 0 / 442.4 MB, free: 6.27 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.5112, allocations: 4.781 kB / 442.4 MB, free: 6.266 MB / 331.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.003523/0.5147, allocations: 0.6466 MB / 443.1 MB, free: 5.578 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5148, allocations: 12.02 kB / 443.1 MB, free: 5.566 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.5149, allocations: 15.81 kB / 443.1 MB, free: 5.551 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.5151, allocations: 190.8 kB / 443.3 MB, free: 5.324 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.5152, allocations: 9.984 kB / 443.3 MB, free: 5.316 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.5152, allocations: 4 kB / 443.3 MB, free: 5.312 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005209/0.5157, allocations: 164.1 kB / 443.5 MB, free: 5.152 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.5162, allocations: 146.5 kB / 443.6 MB, free: 5.004 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5162, allocations: 3.938 kB / 443.6 MB, free: 5 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.5162, allocations: 0 / 443.6 MB, free: 5 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.5163, allocations: 12 kB / 443.6 MB, free: 4.988 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.5176, allocations: 0.4997 MB / 444.1 MB, free: 4.453 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.5181, allocations: 158.5 kB / 444.3 MB, free: 4.289 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.5183, allocations: 80.83 kB / 444.3 MB, free: 4.207 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.5184, allocations: 4 kB / 444.3 MB, free: 4.203 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5184, allocations: 38.52 kB / 444.4 MB, free: 4.156 MB / 331.1 MB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/0.5185, allocations: 0 / 444.4 MB, free: 4.156 MB / 331.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005913/0.5191, allocations: 173.3 kB / 444.6 MB, free: 3.984 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.5191, allocations: 52.34 kB / 444.6 MB, free: 3.922 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.5193, allocations: 136.3 kB / 444.7 MB, free: 3.781 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.5194, allocations: 29.7 kB / 444.8 MB, free: 3.746 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5195, allocations: 178.4 kB / 444.9 MB, free: 3.57 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.5196, allocations: 51.3 kB / 445 MB, free: 3.52 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.5196, allocations: 0 / 445 MB, free: 3.52 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5198, allocations: 324.9 kB / 445.3 MB, free: 3.195 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5199, allocations: 55.98 kB / 445.4 MB, free: 3.141 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.5201, allocations: 87.31 kB / 445.5 MB, free: 3.043 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.5204, allocations: 72.45 kB / 445.5 MB, free: 2.973 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5204, allocations: 2.344 kB / 445.5 MB, free: 2.973 MB / 331.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005058/0.5209, allocations: 179.8 kB / 445.7 MB, free: 2.793 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5209, allocations: 10.66 kB / 445.7 MB, free: 2.785 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5209, allocations: 0 / 445.7 MB, free: 2.785 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.521, allocations: 3.953 kB / 445.7 MB, free: 2.781 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.5214, allocations: 48 kB / 445.8 MB, free: 2.734 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.5215, allocations: 7.984 kB / 445.8 MB, free: 2.727 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.5217, allocations: 15.84 kB / 445.8 MB, free: 2.711 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.5218, allocations: 7.984 kB / 445.8 MB, free: 2.703 MB / 331.1 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.0001167/0.5219, allocations: 104.9 kB / 445.9 MB, free: 2.594 MB / 331.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004816/0.5224, allocations: 175 kB / 446.1 MB, free: 2.418 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.5225, allocations: 19.77 kB / 446.1 MB, free: 2.398 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.5232, allocations: 218.3 kB / 446.3 MB, free: 2.18 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5232, allocations: 3.953 kB / 446.3 MB, free: 2.176 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5232, allocations: 4 kB / 446.3 MB, free: 2.172 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5232, allocations: 0 / 446.3 MB, free: 2.172 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.5237, allocations: 245.9 kB / 446.5 MB, free: 1.895 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5237, allocations: 0 / 446.5 MB, free: 1.895 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.5241, allocations: 43.91 kB / 446.6 MB, free: 1.852 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.5242, allocations: 7.984 kB / 446.6 MB, free: 1.844 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5242, allocations: 4 kB / 446.6 MB, free: 1.84 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5242, allocations: 4 kB / 446.6 MB, free: 1.836 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5242, allocations: 5.453 kB / 446.6 MB, free: 1.832 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.5248, allocations: 293.6 kB / 446.9 MB, free: 1.531 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.5249, allocations: 88.95 kB / 447 MB, free: 1.426 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.5249, allocations: 6.609 kB / 447 MB, free: 1.422 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.5252, allocations: 12 kB / 447 MB, free: 1.41 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.5253, allocations: 15.97 kB / 447 MB, free: 1.395 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.5254, allocations: 7.984 kB / 447 MB, free: 1.387 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.5255, allocations: 122 kB / 447.1 MB, free: 1.27 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5255, allocations: 0 / 447.1 MB, free: 1.27 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.5259, allocations: 39.84 kB / 447.2 MB, free: 1.23 MB / 331.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 () * 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.001012/0.527, allocations: 0.8336 MB / 448 MB, free: 380 kB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.5274, allocations: 148.1 kB / 448.2 MB, free: 232 kB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5275, allocations: 0 / 448.2 MB, free: 232 kB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.5277, allocations: 95.81 kB / 448.3 MB, free: 136 kB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.528, allocations: 14.42 kB / 448.3 MB, free: 124 kB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.529, allocations: 313.4 kB / 448.6 MB, free: 15.77 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.5295, allocations: 0.7318 MB / 449.3 MB, free: 15.01 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.5297, allocations: 55.39 kB / 449.4 MB, free: 14.96 MB / 347.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5297, allocations: 0 / 449.4 MB, free: 14.96 MB / 347.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.583/3.113, allocations: 2.676 MB / 452 MB, free: 12.32 MB / 347.1 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