Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009339/0.0009339, allocations: 94.73 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.535e-05, allocations: 0 / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 51.5 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3378/0.4403, allocations: 79.1 MB / 481.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4406, allocations: 66.66 kB / 481.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.4519, allocations: 4.225 MB / 485.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4519, allocations: 0 / 485.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4519, allocations: 4 kB / 485.5 MB, free: 6.828 MB / 346.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.001124/0.453, allocations: 0.5548 MB / 486.1 MB, free: 6.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4531, allocations: 8.25 kB / 486.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.4531, allocations: 45.8 kB / 486.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.4533, allocations: 24.06 kB / 486.1 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4534, allocations: 191.6 kB / 486.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4534, allocations: 7.922 kB / 486.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4535, allocations: 11.81 kB / 486.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.4537, allocations: 154.3 kB / 486.5 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4537, allocations: 0 / 486.5 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.4537, allocations: 11.5 kB / 486.5 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4538, allocations: 0 / 486.5 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.454, allocations: 139.8 kB / 486.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.4548, allocations: 0.5719 MB / 487.2 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4551, allocations: 148.9 kB / 487.4 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.4552, allocations: 66.23 kB / 487.4 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.4553, allocations: 7.984 kB / 487.4 MB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.4553, allocations: 34.56 kB / 487.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.4553, allocations: 0 / 487.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002656/0.4556, allocations: 154 kB / 487.6 MB, free: 4.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.4556, allocations: 52.16 kB / 487.7 MB, free: 4.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.4557, allocations: 183 kB / 487.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4558, allocations: 29.02 kB / 487.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.4558, allocations: 116.6 kB / 488 MB, free: 4.535 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.4558, allocations: 39.89 kB / 488 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.4559, allocations: 0 / 488 MB, free: 4.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.4559, allocations: 331.6 kB / 488.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.456, allocations: 48.73 kB / 488.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.4561, allocations: 96.66 kB / 488.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.4562, allocations: 58.16 kB / 488.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4562, allocations: 0 / 488.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00024/0.4564, allocations: 193.7 kB / 488.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4565, allocations: 4 kB / 488.8 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4565, allocations: 4 kB / 488.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4565, allocations: 0 / 488.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.4567, allocations: 32.14 kB / 488.8 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4567, allocations: 4.625 kB / 488.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.4568, allocations: 25.05 kB / 488.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.4568, allocations: 8 kB / 488.8 MB, free: 3.789 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 5.106e-05/0.4569, allocations: 108.6 kB / 488.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.4569, allocations: 23.75 kB / 489 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.4572, allocations: 170.1 kB / 489.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.4572, allocations: 7.984 kB / 489.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4572, allocations: 1.625 kB / 489.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4572, allocations: 3.938 kB / 489.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.4574, allocations: 261.9 kB / 489.4 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4575, allocations: 0 / 489.4 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4576, allocations: 23.98 kB / 489.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4576, allocations: 0 / 489.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4576, allocations: 11.56 kB / 489.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4576, allocations: 4 kB / 489.4 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4577, allocations: 4 kB / 489.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.4579, allocations: 247.6 kB / 489.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.458, allocations: 104.2 kB / 489.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.458, allocations: 1.969 kB / 489.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4581, allocations: 25 kB / 489.8 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.4582, allocations: 7.984 kB / 489.8 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4582, allocations: 8 kB / 489.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.748e-05/0.4583, allocations: 146.4 kB / 490 MB, free: 2.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4583, allocations: 0 / 490 MB, free: 2.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.4586, allocations: 31.56 kB / 490 MB, free: 2.695 MB / 346.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 (12): * Single equations (assignments): 11 * 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.0004276/0.459, allocations: 0.801 MB / 490.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.4593, allocations: 123.3 kB / 490.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4593, allocations: 0 / 490.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.4594, allocations: 61.73 kB / 491 MB, free: 1.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4596, allocations: 19.05 kB / 491 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.4601, allocations: 264 kB / 491.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.4603, allocations: 0.7353 MB / 492 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.4604, allocations: 30.31 kB / 492 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.4605, allocations: 47.66 kB / 492.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4605, allocations: 0 / 492.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.4731, allocations: 3.163 MB / 495.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.4733, allocations: 168.3 kB / 495.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.019, allocations: 0 / 495.4 MB, free: 13.53 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat