Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_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.001857/0.001857, allocations: 180.8 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0009806/0.0009805, allocations: 94.58 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002424, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2255, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08484/0.3104, allocations: 77 MB / 452.9 MB, free: 3.656 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.3106, allocations: 67.97 kB / 453 MB, free: 3.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.3209, allocations: 3.782 MB / 456.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3209, allocations: 0 / 456.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3209, allocations: 4 kB / 456.7 MB, free: 15.8 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.001913/0.3228, allocations: 0.6627 MB / 457.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3229, allocations: 8.25 kB / 457.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.323, allocations: 42.55 kB / 457.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.323, allocations: 19.75 kB / 457.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3232, allocations: 196.9 kB / 457.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3232, allocations: 8.234 kB / 457.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3232, allocations: 12 kB / 457.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.3236, allocations: 189.6 kB / 457.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3236, allocations: 0 / 457.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3236, allocations: 4 kB / 457.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3236, allocations: 7.984 kB / 457.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.3241, allocations: 200.3 kB / 458.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.3249, allocations: 0.5461 MB / 458.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.3253, allocations: 182.4 kB / 458.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3253, allocations: 11.94 kB / 458.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3254, allocations: 34.56 kB / 458.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.3254, allocations: 0 / 458.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007081/0.3261, allocations: 378.3 kB / 459.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.3261, allocations: 51.41 kB / 459.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3263, allocations: 170.5 kB / 459.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3263, allocations: 29.7 kB / 459.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.3264, allocations: 112 kB / 459.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.3264, allocations: 51.2 kB / 459.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.3264, allocations: 4 kB / 459.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.3265, allocations: 326.8 kB / 459.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3267, allocations: 75.94 kB / 460 MB, free: 12.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3269, allocations: 107.4 kB / 460.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3271, allocations: 87.95 kB / 460.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3272, allocations: 0 / 460.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004762/0.3276, allocations: 237.5 kB / 460.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3277, allocations: 15.89 kB / 460.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3277, allocations: 0 / 460.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3277, allocations: 7.938 kB / 460.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3279, allocations: 35.91 kB / 460.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.328, allocations: 4 kB / 460.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3281, allocations: 27.92 kB / 460.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.3281, allocations: 7.984 kB / 460.5 MB, free: 11.75 MB / 346.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 () * Number of clocked 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.0001015/0.3283, allocations: 133.8 kB / 460.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.3283, allocations: 19.8 kB / 460.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.3289, allocations: 267 kB / 461 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3289, allocations: 8 kB / 461 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3289, allocations: 11.94 kB / 461 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.3289, allocations: 0 / 461 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3292, allocations: 277.4 kB / 461.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3292, allocations: 0 / 461.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.3294, allocations: 51.91 kB / 461.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3295, allocations: 0 / 461.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3295, allocations: 3.984 kB / 461.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3295, allocations: 4 kB / 461.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3295, allocations: 3.953 kB / 461.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.33, allocations: 342 kB / 461.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.3301, allocations: 96.86 kB / 461.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3301, allocations: 7.984 kB / 461.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3303, allocations: 12 kB / 461.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.3303, allocations: 11.97 kB / 461.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3303, allocations: 4 kB / 461.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.3305, allocations: 152.5 kB / 461.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3305, allocations: 0 / 461.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.3307, allocations: 39.94 kB / 462 MB, free: 10.25 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 () * Number of clocked 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.0007766/0.3315, allocations: 0.8801 MB / 462.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004478/0.332, allocations: 203.9 kB / 463 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.332, allocations: 7.875 kB / 463 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.3322, allocations: 112.4 kB / 463.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.3324, allocations: 12.34 kB / 463.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3342, allocations: 1.551 MB / 464.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3345, allocations: 0.7244 MB / 465.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3346, allocations: 37.34 kB / 465.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.3347, allocations: 51.41 kB / 465.5 MB, free: 6.566 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3347, allocations: 4 kB / 465.5 MB, free: 6.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.3485, allocations: 3.496 MB / 469 MB, free: 3.094 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.3487, allocations: 188 kB / 469.2 MB, free: 2.848 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.845, allocations: 3.938 kB / 469.2 MB, free: 2.844 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat