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.001049/0.001049, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009097/0.0009096, allocations: 107.6 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002082/0.0002083, allocations: 4 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.196, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08485/0.2809, allocations: 79.17 MB / 488.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.2812, allocations: 63.97 kB / 488.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01211/0.2933, allocations: 4.278 MB / 493 MB, free: 7.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2933, allocations: 0 / 493 MB, free: 7.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.2933, allocations: 7.938 kB / 493 MB, free: 7.062 MB / 362.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.00141/0.2947, allocations: 0.5812 MB / 493.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.2948, allocations: 12.03 kB / 493.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.2949, allocations: 42.55 kB / 493.6 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.295, allocations: 15.81 kB / 493.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2952, allocations: 195.6 kB / 493.8 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.2952, allocations: 12.23 kB / 493.9 MB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.2953, allocations: 11.95 kB / 493.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.2957, allocations: 182.8 kB / 494 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2957, allocations: 0 / 494 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2957, allocations: 4 kB / 494.1 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.2957, allocations: 4 kB / 494.1 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.2962, allocations: 176.4 kB / 494.2 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2973, allocations: 0.5749 MB / 494.8 MB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.2977, allocations: 162.7 kB / 495 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.2978, allocations: 7.953 kB / 495 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2978, allocations: 34.56 kB / 495 MB, free: 4.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.2978, allocations: 224 / 495 MB, free: 4.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006964/0.2985, allocations: 326.5 kB / 495.3 MB, free: 4.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2986, allocations: 51.41 kB / 495.4 MB, free: 4.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2987, allocations: 194.1 kB / 495.6 MB, free: 4.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2988, allocations: 29.7 kB / 495.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.2989, allocations: 119.9 kB / 495.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.2989, allocations: 39.39 kB / 495.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.2989, allocations: 0 / 495.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.299, allocations: 330.8 kB / 496.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2992, allocations: 63.95 kB / 496.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.2994, allocations: 112.1 kB / 496.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2996, allocations: 83.89 kB / 496.3 MB, free: 3.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2996, allocations: 0 / 496.3 MB, free: 3.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004664/0.3001, allocations: 221.3 kB / 496.5 MB, free: 3.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3001, allocations: 7.953 kB / 496.5 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3002, allocations: 11.94 kB / 496.6 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3002, allocations: 3.984 kB / 496.6 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3004, allocations: 35.92 kB / 496.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3004, allocations: 0 / 496.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3006, allocations: 23.95 kB / 496.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.3006, allocations: 12 kB / 496.6 MB, free: 3.176 MB / 362.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 () * Number of clocked 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 0.0001141/0.3007, allocations: 133.8 kB / 496.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.3007, allocations: 11.81 kB / 496.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.3012, allocations: 214.7 kB / 497 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3013, allocations: 0 / 497 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3013, allocations: 0 / 497 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3013, allocations: 0 / 497 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3016, allocations: 261.4 kB / 497.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3016, allocations: 0 / 497.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.3018, allocations: 27.92 kB / 497.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3018, allocations: 4 kB / 497.3 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3018, allocations: 0 / 497.3 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3018, allocations: 7.953 kB / 497.3 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3018, allocations: 0 / 497.3 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.3023, allocations: 287.3 kB / 497.6 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.3024, allocations: 112.8 kB / 497.7 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3024, allocations: 4 kB / 497.7 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3026, allocations: 15.92 kB / 497.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3026, allocations: 11.94 kB / 497.7 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3026, allocations: 4 kB / 497.7 MB, free: 2.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3028, allocations: 143.2 kB / 497.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3028, allocations: 0 / 497.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.3031, allocations: 32 kB / 497.9 MB, free: 1.84 MB / 362.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 (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.000804/0.3039, allocations: 0.8299 MB / 498.7 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004371/0.3043, allocations: 155.8 kB / 498.9 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3043, allocations: 320 / 498.9 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.3046, allocations: 87.89 kB / 498.9 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.3048, allocations: 19.41 kB / 499 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.307, allocations: 1.851 MB / 0.4891 GB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3074, allocations: 0.7282 MB / 0.4898 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.3075, allocations: 33.41 kB / 0.4898 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.3076, allocations: 39.42 kB / 0.4899 GB, free: 13.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3076, allocations: 0 / 0.4899 GB, free: 13.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.3228, allocations: 3.178 MB / 0.493 GB, free: 10.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.323, allocations: 183 kB / 0.4931 GB, free: 10.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.87, allocations: 0 / 0.4931 GB, free: 10.7 MB / 378.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