Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009527/0.0009527, allocations: 98.42 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001193, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002673, allocations: 8 kB / 306.8 MB, free: 1.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 51.49 MB / 358.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001927/0.1212, allocations: 1.379 MB / 359.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1225, allocations: 0.6937 MB / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.1226, allocations: 4 kB / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1228, allocations: 35.84 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.123, allocations: 31.84 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008466/0.1239, allocations: 406.8 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.1241, allocations: 103.6 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1242, allocations: 37.52 kB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1243, allocations: 43.78 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1246, allocations: 87.66 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.1246, allocations: 4 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1249, allocations: 123.8 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.125, allocations: 23.91 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.125, allocations: 41.64 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1253, allocations: 147.8 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1253, allocations: 4 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1253, allocations: 0 / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1253, allocations: 0 / 361.4 MB, free: 10.84 MB / 302.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.001214/0.1265, allocations: 0.5182 MB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1266, allocations: 8.031 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.157e-05/0.1266, allocations: 46.55 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/0.1273, allocations: 107.5 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.1275, allocations: 190.2 kB / 362.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1275, allocations: 7.953 kB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.1275, allocations: 12 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.1279, allocations: 177.4 kB / 362.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1279, allocations: 0 / 362.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.128, allocations: 8 kB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.128, allocations: 4 kB / 362.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.1284, allocations: 173 kB / 362.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1294, allocations: 0.5858 MB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.1298, allocations: 170.7 kB / 363.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.13, allocations: 76.81 kB / 363.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.13, allocations: 0 / 363.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1301, allocations: 34.56 kB / 363.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.1301, allocations: 0 / 363.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006384/0.1307, allocations: 253.5 kB / 363.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1308, allocations: 59.34 kB / 363.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.131, allocations: 202.2 kB / 364 MB, free: 8.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.131, allocations: 29.7 kB / 364.1 MB, free: 8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.1311, allocations: 123.6 kB / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1311, allocations: 39.44 kB / 364.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.1311, allocations: 4 kB / 364.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1313, allocations: 322.8 kB / 364.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1314, allocations: 71.95 kB / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1316, allocations: 107.3 kB / 364.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.1318, allocations: 83.91 kB / 364.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1319, allocations: 3.984 kB / 364.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004421/0.1323, allocations: 217.2 kB / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1323, allocations: 10.59 kB / 365 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1323, allocations: 3.938 kB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1324, allocations: 4 kB / 365 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1325, allocations: 39.91 kB / 365.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1326, allocations: 8.156 kB / 365.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1327, allocations: 19.83 kB / 365.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1327, allocations: 8 kB / 365.1 MB, free: 6.922 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 14 * 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.0001235/0.1328, allocations: 133.8 kB / 365.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.1329, allocations: 15.77 kB / 365.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.1334, allocations: 211 kB / 365.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1334, allocations: 0 / 365.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1334, allocations: 4 kB / 365.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1334, allocations: 4 kB / 365.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.1337, allocations: 257.4 kB / 365.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1337, allocations: 4 kB / 365.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1339, allocations: 39.84 kB / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1339, allocations: 0 / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1339, allocations: 7.953 kB / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1339, allocations: 0 / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1339, allocations: 0 / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.1344, allocations: 286.8 kB / 366.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.1345, allocations: 104.9 kB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1345, allocations: 0 / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1347, allocations: 19.94 kB / 366.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1347, allocations: 7.984 kB / 366.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1347, allocations: 4 kB / 366.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1349, allocations: 147.2 kB / 366.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1349, allocations: 4 kB / 366.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1352, allocations: 31.94 kB / 366.4 MB, free: 5.574 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 (12): * Single equations (assignments): 11 * 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.0007864/0.136, allocations: 0.8216 MB / 367.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.1364, allocations: 168 kB / 367.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1364, allocations: 0 / 367.3 MB, free: 4.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.1366, allocations: 75.95 kB / 367.4 MB, free: 4.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1369, allocations: 27.56 kB / 367.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1388, allocations: 1.097 MB / 368.5 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1391, allocations: 0.7321 MB / 369.3 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.1393, allocations: 29.34 kB / 369.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.095e-05/0.1394, allocations: 47.41 kB / 369.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1394, allocations: 4 kB / 369.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2079/0.3473, allocations: 3.221 MB / 372.6 MB, free: 19.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.3475, allocations: 187.3 kB / 372.8 MB, free: 18.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.228, allocations: 3.875 kB / 372.8 MB, free: 18.88 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat