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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 94.73 kB / 16.94 MB, free: 5.98 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.0009033/0.0009035, allocations: 179.8 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006461/0.0006461, allocations: 8 kB / 280.8 MB, free: 3.668 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1003, allocations: 47.59 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001675/0.102, allocations: 1.278 MB / 329.7 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.103, allocations: 0.6363 MB / 330.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.103, allocations: 4 kB / 330.3 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1032, allocations: 31.8 kB / 330.4 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.1033, allocations: 27.91 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009032/0.1042, allocations: 0.4984 MB / 330.9 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1044, allocations: 63.88 kB / 330.9 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1045, allocations: 33.03 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1047, allocations: 51.77 kB / 331 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1049, allocations: 63.75 kB / 331.1 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1049, allocations: 11.94 kB / 331.1 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.1051, allocations: 119.9 kB / 331.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.1052, allocations: 35.83 kB / 331.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1052, allocations: 41.64 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1054, allocations: 136 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1054, allocations: 0 / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1054, allocations: 0 / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1054, allocations: 0 / 331.4 MB, free: 0.9648 MB / 270.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.001367/0.1068, allocations: 0.5533 MB / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.1069, allocations: 8.031 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.1069, allocations: 42.56 kB / 332 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.1082, allocations: 171.7 kB / 332.2 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.1084, allocations: 194.7 kB / 332.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1084, allocations: 8 kB / 332.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1084, allocations: 12 kB / 332.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.1088, allocations: 185.5 kB / 332.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1088, allocations: 0 / 332.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1088, allocations: 8 kB / 332.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.1089, allocations: 4 kB / 332.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.1092, allocations: 183.8 kB / 332.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.1101, allocations: 0.543 MB / 333.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.1105, allocations: 186.4 kB / 333.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1105, allocations: 7.984 kB / 333.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1105, allocations: 34.56 kB / 333.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.1106, allocations: 0 / 333.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007191/0.1113, allocations: 382.1 kB / 333.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.1113, allocations: 51.41 kB / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1115, allocations: 183.3 kB / 334.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1115, allocations: 25.7 kB / 334.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.1116, allocations: 116 kB / 334.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.1116, allocations: 47.2 kB / 334.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.1116, allocations: 8 kB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1118, allocations: 322.8 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1119, allocations: 75.95 kB / 334.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.1121, allocations: 107.4 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1124, allocations: 91.89 kB / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1124, allocations: 0 / 334.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004736/0.1128, allocations: 249.3 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1129, allocations: 4 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1129, allocations: 3.984 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1129, allocations: 4 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1131, allocations: 31.97 kB / 335.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1131, allocations: 8.094 kB / 335.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1133, allocations: 23.83 kB / 335.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1133, allocations: 8 kB / 335.3 MB, free: 12.88 MB / 286.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.0001091/0.1134, allocations: 129.8 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.1135, allocations: 27.75 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.114, allocations: 271 kB / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.114, allocations: 0 / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1141, allocations: 0 / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1141, allocations: 0 / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.1144, allocations: 285.4 kB / 336 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1144, allocations: 3.938 kB / 336 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.1146, allocations: 47.95 kB / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1146, allocations: 0 / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1146, allocations: 7.953 kB / 336 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1146, allocations: 4 kB / 336 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1146, allocations: 0 / 336 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.1151, allocations: 347.1 kB / 336.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.1152, allocations: 96.86 kB / 336.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1152, allocations: 4 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1154, allocations: 15.92 kB / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.1155, allocations: 15.94 kB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1155, allocations: 7.984 kB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1156, allocations: 139.9 kB / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1156, allocations: 0 / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1159, allocations: 28 kB / 336.7 MB, free: 11.38 MB / 286.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.0007822/0.1167, allocations: 0.8804 MB / 337.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004501/0.1171, allocations: 204.1 kB / 337.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1171, allocations: 0 / 337.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1174, allocations: 115.9 kB / 337.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.1176, allocations: 8 kB / 337.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1194, allocations: 1.529 MB / 339.4 MB, free: 8.562 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1196, allocations: 0.7322 MB / 340.1 MB, free: 7.805 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1198, allocations: 33.41 kB / 340.1 MB, free: 7.77 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.1199, allocations: 55.41 kB / 340.2 MB, free: 7.719 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1199, allocations: 0 / 340.2 MB, free: 7.719 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.1326, allocations: 3.532 MB / 343.7 MB, free: 4.195 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.1329, allocations: 181.1 kB / 343.9 MB, free: 3.957 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.702, allocations: 0 / 343.9 MB, free: 3.957 MB / 286.1 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) Environment - environmentSimulation: 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