Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.00165, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004038, allocations: 11.98 kB / 327 MB, free: 15.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 47.58 MB / 374.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002464/0.1181, allocations: 1.28 MB / 375.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1198, allocations: 0.6324 MB / 376.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.336e-05/0.12, allocations: 4 kB / 376.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1203, allocations: 27.81 kB / 376.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.1205, allocations: 31.89 kB / 376.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.1221, allocations: 0.5062 MB / 377.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1224, allocations: 59.88 kB / 377.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1226, allocations: 29.05 kB / 377.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1228, allocations: 55.77 kB / 377.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.123, allocations: 67.75 kB / 377.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1231, allocations: 4 kB / 377.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.1234, allocations: 119.8 kB / 377.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.1235, allocations: 31.89 kB / 377.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.1236, allocations: 45.58 kB / 377.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1239, allocations: 139.8 kB / 377.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1239, allocations: 0 / 377.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.124, allocations: 0 / 377.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.124, allocations: 0 / 377.7 MB, free: 12.3 MB / 282.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.002362/0.1264, allocations: 0.5458 MB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.1264, allocations: 8.031 kB / 378.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.319e-05/0.1265, allocations: 46.55 kB / 378.3 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.1288, allocations: 171.7 kB / 378.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1292, allocations: 194.7 kB / 378.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.1292, allocations: 12 kB / 378.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.1293, allocations: 4 kB / 378.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.13, allocations: 185.6 kB / 378.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.13, allocations: 0 / 378.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.13, allocations: 4 kB / 378.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.1301, allocations: 7.984 kB / 378.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.1309, allocations: 176.8 kB / 379 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.1326, allocations: 0.5547 MB / 379.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007378/0.1334, allocations: 182.4 kB / 379.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.1335, allocations: 3.984 kB / 379.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1336, allocations: 38.69 kB / 379.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 3.567e-06/0.1336, allocations: 0 / 379.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.001436/0.135, allocations: 376.8 kB / 380.1 MB, free: 9.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.1351, allocations: 59.34 kB / 380.2 MB, free: 9.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1355, allocations: 183.3 kB / 380.4 MB, free: 9.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.1355, allocations: 33.7 kB / 380.4 MB, free: 9.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1357, allocations: 170.5 kB / 380.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.1358, allocations: 51.2 kB / 380.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.1358, allocations: 4 kB / 380.6 MB, free: 9.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.136, allocations: 314.8 kB / 380.9 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.1364, allocations: 75.94 kB / 381 MB, free: 8.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.1369, allocations: 111.4 kB / 381.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.1373, allocations: 83.95 kB / 381.2 MB, free: 8.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.1373, allocations: 4 kB / 381.2 MB, free: 8.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009832/0.1383, allocations: 237.2 kB / 381.4 MB, free: 8.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.1384, allocations: 4 kB / 381.4 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.1384, allocations: 4 kB / 381.4 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.1384, allocations: 4.094 kB / 381.4 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.1389, allocations: 35.97 kB / 381.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.1389, allocations: 3.984 kB / 381.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.1392, allocations: 23.84 kB / 381.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1393, allocations: 7.984 kB / 381.5 MB, free: 8.188 MB / 282.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.0001863/0.1395, allocations: 133.8 kB / 381.6 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.1395, allocations: 23.77 kB / 381.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.1407, allocations: 267 kB / 381.9 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.1407, allocations: 4 kB / 381.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1407, allocations: 0 / 381.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1407, allocations: 11.98 kB / 381.9 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.1412, allocations: 277.4 kB / 382.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1413, allocations: 0 / 382.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.1417, allocations: 47.91 kB / 382.3 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1418, allocations: 0 / 382.3 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.1418, allocations: 11.94 kB / 382.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1418, allocations: 0 / 382.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1418, allocations: 0 / 382.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1428, allocations: 343.2 kB / 382.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.1429, allocations: 100.8 kB / 382.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.143, allocations: 4 kB / 382.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.1433, allocations: 16 kB / 382.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.1434, allocations: 23.86 kB / 382.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.1435, allocations: 4 kB / 382.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1436, allocations: 135.9 kB / 382.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1437, allocations: 0 / 382.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000441/0.1441, allocations: 28 kB / 382.9 MB, free: 6.688 MB / 282.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.00146/0.1456, allocations: 0.88 MB / 383.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.1465, allocations: 212 kB / 384 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.1466, allocations: 0 / 384 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.147, allocations: 116.5 kB / 384.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1473, allocations: 20.33 kB / 384.1 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.1508, allocations: 1.546 MB / 385.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.1513, allocations: 0.7361 MB / 386.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.1516, allocations: 55.41 kB / 386.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1516, allocations: 0 / 386.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.477/2.629, allocations: 2.815 MB / 389.3 MB, free: 192 kB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat