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.001556/0.001556, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008439/0.0008441, allocations: 99.81 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.529e-05, allocations: 0 / 343.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09086, allocations: 51.48 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.296/0.3869, allocations: 78.45 MB / 473.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.3871, allocations: 65.44 kB / 473.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.3976, allocations: 4.183 MB / 477.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3976, allocations: 0 / 477.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3976, allocations: 0 / 477.9 MB, free: 10.73 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.001069/0.3987, allocations: 0.5521 MB / 478.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.3988, allocations: 13.19 kB / 478.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3989, allocations: 21.22 kB / 478.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.399, allocations: 193.5 kB / 478.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3991, allocations: 4.859 kB / 478.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.3991, allocations: 8 kB / 478.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002177/0.3993, allocations: 139.2 kB / 478.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3995, allocations: 136.1 kB / 479 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3995, allocations: 4 kB / 479 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3996, allocations: 4 kB / 479 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3996, allocations: 0 / 479 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/0.4004, allocations: 0.5311 MB / 479.5 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.4006, allocations: 135.6 kB / 479.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.4007, allocations: 57.12 kB / 479.7 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.4008, allocations: 4 kB / 479.7 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.4008, allocations: 43.64 kB / 479.8 MB, free: 9.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.4008, allocations: 7.469 kB / 479.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002385/0.401, allocations: 139.1 kB / 479.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.4011, allocations: 51.41 kB / 480 MB, free: 9.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.4012, allocations: 150.5 kB / 480.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4012, allocations: 25.7 kB / 480.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.4012, allocations: 127.6 kB / 480.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.4013, allocations: 39.84 kB / 480.3 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.4013, allocations: 0 / 480.3 MB, free: 8.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.4013, allocations: 325 kB / 480.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.4014, allocations: 43.66 kB / 480.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.4015, allocations: 91.16 kB / 480.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.4016, allocations: 61.42 kB / 480.8 MB, free: 8.316 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4016, allocations: 4 kB / 480.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002062/0.4018, allocations: 166.2 kB / 481 MB, free: 8.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.4018, allocations: 8 kB / 481 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4018, allocations: 0 / 481 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4018, allocations: 7.953 kB / 481 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.402, allocations: 30.33 kB / 481 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.402, allocations: 7.938 kB / 481 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4021, allocations: 25.83 kB / 481.1 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4022, allocations: 7.312 kB / 481.1 MB, free: 8.125 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.758e-05/0.4022, allocations: 101.9 kB / 481.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001916/0.4024, allocations: 142.6 kB / 481.3 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.4025, allocations: 23.75 kB / 481.3 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.4027, allocations: 160.4 kB / 481.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4027, allocations: 6.156 kB / 481.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4027, allocations: 0 / 481.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4027, allocations: 0 / 481.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4029, allocations: 228.2 kB / 481.7 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.403, allocations: 0 / 481.7 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.4031, allocations: 27.97 kB / 481.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4031, allocations: 4 kB / 481.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4031, allocations: 0 / 481.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4031, allocations: 7.891 kB / 481.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4032, allocations: 3.938 kB / 481.8 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.4033, allocations: 237.9 kB / 482 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.4034, allocations: 104.5 kB / 482.1 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.4034, allocations: 0 / 482.1 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4036, allocations: 14.92 kB / 482.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.4036, allocations: 11.94 kB / 482.1 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4036, allocations: 4 kB / 482.1 MB, free: 7.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.4037, allocations: 130.8 kB / 482.2 MB, free: 7.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4037, allocations: 0 / 482.2 MB, free: 7.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.404, allocations: 31.94 kB / 482.3 MB, free: 7.008 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.0003474/0.4043, allocations: 0.7792 MB / 483.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.4045, allocations: 121.2 kB / 483.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4045, allocations: 1.781 kB / 483.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.4046, allocations: 62.55 kB / 483.2 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.4048, allocations: 19.62 kB / 483.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.4053, allocations: 247.7 kB / 483.5 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.4054, allocations: 0.7317 MB / 484.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.746e-05/0.4055, allocations: 28.75 kB / 484.3 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.4056, allocations: 44.61 kB / 484.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4056, allocations: 0 / 484.3 MB, free: 5.051 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.4251, allocations: 2.453 MB / 486.8 MB, free: 2.664 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.4253, allocations: 143.2 kB / 486.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.943, allocations: 0 / 486.9 MB, free: 2.473 MB / 346.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