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.001561/0.001562, allocations: 180.8 kB / 16.38 MB, free: 5.766 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.537/1.537, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 95.95 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 4 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3725, allocations: 77.88 MB / 479.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.3728, allocations: 79.94 kB / 479.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.3843, allocations: 3.836 MB / 483.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3843, allocations: 3.938 kB / 483.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.3843, allocations: 4 kB / 483.4 MB, free: 14.67 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.002045/0.3864, allocations: 0.6667 MB / 484 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3864, allocations: 8.031 kB / 484 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.3865, allocations: 46.52 kB / 484.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3866, allocations: 15.81 kB / 484.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.3867, allocations: 193.8 kB / 484.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3868, allocations: 4.234 kB / 484.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3868, allocations: 12 kB / 484.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.3872, allocations: 188.4 kB / 484.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3872, allocations: 3.953 kB / 484.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.3872, allocations: 4 kB / 484.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3873, allocations: 4 kB / 484.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.3877, allocations: 204.3 kB / 484.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.3887, allocations: 0.5591 MB / 485.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.3891, allocations: 194.4 kB / 485.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3891, allocations: 0 / 485.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3892, allocations: 34.56 kB / 485.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3892, allocations: 0 / 485.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000804/0.39, allocations: 374.6 kB / 485.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.39, allocations: 55.36 kB / 485.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.3902, allocations: 174.4 kB / 486.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3903, allocations: 29.7 kB / 486.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.3903, allocations: 116.1 kB / 486.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.3904, allocations: 43.27 kB / 486.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.3904, allocations: 4 kB / 486.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3905, allocations: 322.8 kB / 486.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3907, allocations: 83.88 kB / 486.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.391, allocations: 111.3 kB / 486.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3912, allocations: 87.95 kB / 486.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3912, allocations: 4 kB / 486.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000515/0.3918, allocations: 234.2 kB / 487.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3918, allocations: 6.812 kB / 487.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3918, allocations: 0 / 487.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3918, allocations: 4.094 kB / 487.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.3921, allocations: 47.91 kB / 487.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3921, allocations: 3.984 kB / 487.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.3923, allocations: 19.86 kB / 487.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3923, allocations: 11.98 kB / 487.2 MB, free: 10.6 MB / 362.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.0001237/0.3925, allocations: 133.7 kB / 487.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3925, allocations: 15.81 kB / 487.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.3931, allocations: 271 kB / 487.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3931, allocations: 0 / 487.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3931, allocations: 0 / 487.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3932, allocations: 7.984 kB / 487.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.3935, allocations: 289.3 kB / 487.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3935, allocations: 0 / 487.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3937, allocations: 43.91 kB / 487.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3937, allocations: 0 / 487.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3938, allocations: 11.98 kB / 487.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3938, allocations: 0 / 487.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3938, allocations: 0 / 487.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.3943, allocations: 346.1 kB / 488.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.3944, allocations: 100.8 kB / 488.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3944, allocations: 7.938 kB / 488.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3946, allocations: 15.97 kB / 488.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.3947, allocations: 19.98 kB / 488.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3947, allocations: 7.984 kB / 488.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.3948, allocations: 131.7 kB / 488.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3948, allocations: 0 / 488.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.3951, allocations: 47.92 kB / 488.6 MB, free: 9.086 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 (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.0009126/0.3961, allocations: 0.88 MB / 489.5 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.3966, allocations: 199.8 kB / 489.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3966, allocations: 0 / 489.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.3968, allocations: 111.9 kB / 489.8 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.397, allocations: 28.08 kB / 489.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3991, allocations: 1.541 MB / 491.3 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3994, allocations: 0.7322 MB / 492.1 MB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.3996, allocations: 33.41 kB / 492.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3997, allocations: 47.41 kB / 492.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3997, allocations: 0 / 492.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.415, allocations: 3.511 MB / 495.7 MB, free: 2.047 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.4152, allocations: 176.8 kB / 495.8 MB, free: 1.809 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.474, allocations: 0 / 495.8 MB, free: 1.809 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