Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.3 MB / 235.5 MB, free: 2.871 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008104, allocations: 97.97 kB / 286.5 MB, free: 168 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.135e-05, allocations: 0 / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08741/0.08745, allocations: 50.42 MB / 394.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.4014, allocations: 77.81 MB / 472.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4017, allocations: 67.97 kB / 472.2 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.4125, allocations: 3.79 MB / 476 MB, free: 5.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.4125, allocations: 0 / 476 MB, free: 5.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.4125, allocations: 8 kB / 476 MB, free: 5.797 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.001837/0.4143, allocations: 0.6436 MB / 476.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4144, allocations: 8.031 kB / 476.7 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.729e-05/0.4144, allocations: 50.52 kB / 476.7 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.4145, allocations: 11.81 kB / 476.7 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.4147, allocations: 198.7 kB / 476.9 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4147, allocations: 12.17 kB / 476.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4148, allocations: 12 kB / 476.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.4151, allocations: 170.7 kB / 477.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.4151, allocations: 3.953 kB / 477.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.4151, allocations: 4 kB / 477.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4151, allocations: 4 kB / 477.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.4154, allocations: 168.4 kB / 477.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.4163, allocations: 0.548 MB / 477.8 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.4166, allocations: 167.2 kB / 478 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.4168, allocations: 85.95 kB / 478.1 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4168, allocations: 4 kB / 478.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.4168, allocations: 34.5 kB / 478.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.4168, allocations: 0 / 478.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003785/0.4172, allocations: 185.8 kB / 478.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.4172, allocations: 55.41 kB / 478.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4174, allocations: 170.4 kB / 478.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4174, allocations: 25.7 kB / 478.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.4175, allocations: 115.9 kB / 478.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.4176, allocations: 47.28 kB / 478.7 MB, free: 2.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.4176, allocations: 4 kB / 478.7 MB, free: 2.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4177, allocations: 322.8 kB / 479 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4178, allocations: 67.97 kB / 479.1 MB, free: 2.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.4179, allocations: 92.25 kB / 479.2 MB, free: 2.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4181, allocations: 67.91 kB / 479.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4181, allocations: 0 / 479.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003196/0.4184, allocations: 193.5 kB / 479.4 MB, free: 2.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4184, allocations: 12 kB / 479.4 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4184, allocations: 3.984 kB / 479.4 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4185, allocations: 7.938 kB / 479.4 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4187, allocations: 35.91 kB / 479.5 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4187, allocations: 7.953 kB / 479.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4189, allocations: 23.83 kB / 479.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.4189, allocations: 4 kB / 479.5 MB, free: 2.043 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 () * 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 8.827e-05/0.419, allocations: 113 kB / 479.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.4191, allocations: 15.81 kB / 479.6 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.4195, allocations: 246.2 kB / 479.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4195, allocations: 0 / 479.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4195, allocations: 0 / 479.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.4195, allocations: 0 / 479.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.4198, allocations: 293.2 kB / 480.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4198, allocations: 0 / 480.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.4201, allocations: 47.97 kB / 480.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4201, allocations: 0 / 480.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4201, allocations: 4 kB / 480.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.4201, allocations: 3.984 kB / 480.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4201, allocations: 3.984 kB / 480.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.4205, allocations: 315.1 kB / 480.5 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.4206, allocations: 92.86 kB / 480.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.4206, allocations: 8 kB / 480.6 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.4208, allocations: 11.98 kB / 480.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.4208, allocations: 15.98 kB / 480.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.4209, allocations: 11.97 kB / 480.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.421, allocations: 136.3 kB / 480.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.421, allocations: 0 / 480.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.4213, allocations: 36 kB / 480.8 MB, free: 0.625 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 (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.0006798/0.4219, allocations: 0.8637 MB / 481.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.4222, allocations: 155.9 kB / 481.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4222, allocations: 0 / 481.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.4224, allocations: 92.09 kB / 481.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.4227, allocations: 20.19 kB / 482 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4237, allocations: 311.3 kB / 482.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4241, allocations: 0.7283 MB / 483 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.4243, allocations: 29.2 kB / 483 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.4245, allocations: 51.41 kB / 483.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4245, allocations: 4 kB / 483.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.4444, allocations: 3.512 MB / 486.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/0.4447, allocations: 156.7 kB / 486.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.025, allocations: 0 / 486.7 MB, free: 10.7 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat