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.001167/0.001167, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.355/1.355, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007602/0.0007602, allocations: 90.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.599e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07682/0.07686, allocations: 47.57 MB / 370.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/0.3496, allocations: 76.89 MB / 447 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.3498, allocations: 67.09 kB / 447.1 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.3608, allocations: 3.74 MB / 450.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3608, allocations: 0 / 450.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.3609, allocations: 4 kB / 450.8 MB, free: 13.24 MB / 330.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.002163/0.363, allocations: 0.644 MB / 451.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3631, allocations: 8.031 kB / 451.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.3631, allocations: 46.06 kB / 451.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3632, allocations: 15.81 kB / 451.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.3634, allocations: 195.6 kB / 451.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3634, allocations: 12.03 kB / 451.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.3634, allocations: 11.88 kB / 451.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.3638, allocations: 175.3 kB / 451.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3638, allocations: 0 / 451.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3638, allocations: 8.312 kB / 451.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3638, allocations: 0 / 451.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.3642, allocations: 171.7 kB / 452.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3652, allocations: 0.5394 MB / 452.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.3656, allocations: 162.8 kB / 452.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3657, allocations: 89.78 kB / 452.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3658, allocations: 4 kB / 452.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3658, allocations: 41.88 kB / 452.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/0.3658, allocations: 0 / 452.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004152/0.3662, allocations: 177 kB / 453.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3663, allocations: 51.41 kB / 453.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3665, allocations: 175 kB / 453.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.3665, allocations: 28.89 kB / 453.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.3666, allocations: 113.3 kB / 453.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.3666, allocations: 53.59 kB / 453.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.3667, allocations: 0 / 453.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3668, allocations: 325.5 kB / 453.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3669, allocations: 63.84 kB / 453.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3671, allocations: 96.55 kB / 454 MB, free: 10.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3672, allocations: 73.45 kB / 454 MB, free: 10.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3672, allocations: 0 / 454 MB, free: 10.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003892/0.3676, allocations: 195.9 kB / 454.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3677, allocations: 16.08 kB / 454.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3677, allocations: 0 / 454.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3677, allocations: 0 / 454.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.368, allocations: 42.53 kB / 454.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3681, allocations: 4 kB / 454.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3682, allocations: 19.83 kB / 454.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3683, allocations: 7.375 kB / 454.3 MB, free: 10.02 MB / 330.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 () * 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.0001069/0.3684, allocations: 112 kB / 454.4 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.3685, allocations: 15.77 kB / 454.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.3691, allocations: 247 kB / 454.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3691, allocations: 11.64 kB / 454.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3691, allocations: 0 / 454.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3692, allocations: 0 / 454.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.3695, allocations: 281.7 kB / 455 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3695, allocations: 0 / 455 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.3698, allocations: 47.53 kB / 455 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3698, allocations: 0 / 455 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.3698, allocations: 0 / 455 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3698, allocations: 11.92 kB / 455 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3698, allocations: 3.953 kB / 455 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.3703, allocations: 302 kB / 455.3 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.3703, allocations: 92.92 kB / 455.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3704, allocations: 7.5 kB / 455.4 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3705, allocations: 15.67 kB / 455.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.3706, allocations: 11.98 kB / 455.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3706, allocations: 11.94 kB / 455.5 MB, free: 8.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.3707, allocations: 138.9 kB / 455.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3707, allocations: 0 / 455.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.371, allocations: 35.56 kB / 455.6 MB, free: 8.801 MB / 330.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 (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.000677/0.3717, allocations: 0.8503 MB / 456.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.372, allocations: 165.8 kB / 456.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.372, allocations: 3.938 kB / 456.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.3722, allocations: 92.17 kB / 456.7 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.3724, allocations: 19.83 kB / 456.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.373, allocations: 304.5 kB / 457.1 MB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3734, allocations: 0.7283 MB / 457.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3735, allocations: 29.2 kB / 457.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.3736, allocations: 56.09 kB / 457.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3736, allocations: 0 / 457.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.3873, allocations: 3.524 MB / 461.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.3875, allocations: 158.4 kB / 461.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/1.892, allocations: 0 / 461.6 MB, free: 2.934 MB / 330.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