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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007322/0.0007319, allocations: 86.97 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008203/0.0008204, allocations: 183 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 241.2 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002479, allocations: 5.281 kB / 300.9 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 50.42 MB / 351.3 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001542/0.1053, allocations: 1.315 MB / 352.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000914/0.1062, allocations: 0.6003 MB / 353.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.1062, allocations: 4 kB / 353.2 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1064, allocations: 27.86 kB / 353.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.1065, allocations: 23.86 kB / 353.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008817/0.1074, allocations: 0.5022 MB / 353.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1076, allocations: 95.75 kB / 353.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.1077, allocations: 25.09 kB / 353.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1078, allocations: 47.78 kB / 354 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.108, allocations: 79.66 kB / 354 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.108, allocations: 4 kB / 354 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1082, allocations: 127.9 kB / 354.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.1082, allocations: 27.84 kB / 354.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1083, allocations: 45.64 kB / 354.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1085, allocations: 143.7 kB / 354.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1085, allocations: 0 / 354.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1085, allocations: 0 / 354.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.1085, allocations: 0 / 354.4 MB, free: 0.8477 MB / 286.1 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.001252/0.1097, allocations: 0.5458 MB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1098, allocations: 12.03 kB / 354.9 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1098, allocations: 54.44 kB / 355 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.1111, allocations: 171.6 kB / 355.2 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1112, allocations: 177.7 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1113, allocations: 8 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1113, allocations: 15.98 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1116, allocations: 193.5 kB / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1117, allocations: 3.953 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1117, allocations: 4 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.1117, allocations: 4 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.1121, allocations: 183.9 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.1129, allocations: 0.5352 MB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.1133, allocations: 186.4 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.1135, allocations: 104.8 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1136, allocations: 7.938 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1136, allocations: 34.56 kB / 356.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.1136, allocations: 4 kB / 356.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006829/0.1143, allocations: 297.5 kB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1143, allocations: 59.36 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1145, allocations: 184.3 kB / 357.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1145, allocations: 25.7 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.1146, allocations: 111.9 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1147, allocations: 51.28 kB / 357.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.1147, allocations: 7.938 kB / 357.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1148, allocations: 322.8 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.115, allocations: 79.95 kB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.1152, allocations: 107.3 kB / 357.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.1154, allocations: 91.95 kB / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1154, allocations: 0 / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004601/0.1158, allocations: 229.3 kB / 358.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1159, allocations: 12.09 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1159, allocations: 0 / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1159, allocations: 4 kB / 358.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.1161, allocations: 39.89 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1162, allocations: 11.95 kB / 358.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1163, allocations: 23.83 kB / 358.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1163, allocations: 4 kB / 358.2 MB, free: 12.75 MB / 302.1 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.0001033/0.1164, allocations: 133.8 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.1165, allocations: 11.81 kB / 358.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005602/0.117, allocations: 271 kB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1171, allocations: 11.98 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1171, allocations: 0 / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1171, allocations: 0 / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.1174, allocations: 289.3 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1174, allocations: 0 / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.1176, allocations: 47.89 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1176, allocations: 0 / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1176, allocations: 4 kB / 359 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1176, allocations: 4 kB / 359 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1176, allocations: 4 kB / 359 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.1182, allocations: 339.2 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1182, allocations: 100.8 kB / 359.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1183, allocations: 11.94 kB / 359.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1184, allocations: 11.98 kB / 359.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1185, allocations: 11.98 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1185, allocations: 7.984 kB / 359.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1186, allocations: 135.9 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1186, allocations: 0 / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1189, allocations: 31.98 kB / 359.6 MB, free: 11.25 MB / 302.1 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.000836/0.1197, allocations: 0.8904 MB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.1202, allocations: 191.8 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1202, allocations: 0 / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.1204, allocations: 116.1 kB / 360.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1207, allocations: 19.94 kB / 360.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.1225, allocations: 1.103 MB / 361.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1228, allocations: 0.7322 MB / 362.7 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.123, allocations: 37.39 kB / 362.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1231, allocations: 55.41 kB / 362.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1231, allocations: 0 / 362.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.1387, allocations: 3.547 MB / 366.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003647/0.1391, allocations: 195.2 kB / 366.5 MB, free: 4.375 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.056, allocations: 3.938 kB / 366.5 MB, free: 4.371 MB / 302.1 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