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.001221/0.001221, allocations: 100.3 kB / 16.95 MB, free: 6.453 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.001193/0.001193, allocations: 182.8 kB / 17.84 MB, free: 6.004 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.73/1.73, allocations: 205.4 MB / 224 MB, free: 13.15 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.0006678/0.0006679, allocations: 8 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1164, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00198/0.1185, allocations: 1.269 MB / 329.7 MB, free: 2.715 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1198, allocations: 0.6479 MB / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.1199, allocations: 4 kB / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.1202, allocations: 27.88 kB / 330.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1203, allocations: 31.84 kB / 330.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1214, allocations: 498.6 kB / 330.9 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1216, allocations: 103.7 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1217, allocations: 29.05 kB / 331 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1218, allocations: 51.77 kB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.122, allocations: 75.66 kB / 331.2 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.122, allocations: 4 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1222, allocations: 127.8 kB / 331.3 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.1223, allocations: 31.89 kB / 331.3 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1223, allocations: 41.64 kB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1226, allocations: 144 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1226, allocations: 0 / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.87e-06/0.1226, allocations: 3.984 kB / 331.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1226, allocations: 0 / 331.5 MB, free: 0.9023 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.001383/0.124, allocations: 0.5455 MB / 332.1 MB, free: 316 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.124, allocations: 12.03 kB / 332.1 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.1241, allocations: 46.55 kB / 332.1 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.1253, allocations: 167.7 kB / 332.3 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1255, allocations: 190.8 kB / 332.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1255, allocations: 8 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1256, allocations: 12 kB / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.126, allocations: 185.5 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.126, allocations: 0 / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.126, allocations: 4 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.126, allocations: 12 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.1265, allocations: 179.8 kB / 332.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.1274, allocations: 0.543 MB / 333.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.1278, allocations: 182.4 kB / 333.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.128, allocations: 108.8 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1281, allocations: 7.984 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1281, allocations: 34.56 kB / 333.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.1281, allocations: 0 / 333.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006977/0.1288, allocations: 297.4 kB / 334 MB, free: 14.21 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.1289, allocations: 55.41 kB / 334.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1291, allocations: 183.3 kB / 334.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1291, allocations: 25.7 kB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.1292, allocations: 108 kB / 334.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.1292, allocations: 55.2 kB / 334.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.1292, allocations: 4 kB / 334.4 MB, free: 13.76 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1294, allocations: 326.8 kB / 334.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.1296, allocations: 75.95 kB / 334.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1298, allocations: 107.4 kB / 334.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.13, allocations: 87.95 kB / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.13, allocations: 0 / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000476/0.1305, allocations: 245.3 kB / 335.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1305, allocations: 8 kB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1305, allocations: 0 / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1305, allocations: 0 / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.1308, allocations: 44.05 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1308, allocations: 8 kB / 335.3 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1309, allocations: 19.84 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.131, allocations: 7.984 kB / 335.3 MB, free: 12.82 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.0001181/0.1311, allocations: 133.8 kB / 335.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1311, allocations: 19.7 kB / 335.5 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/0.1317, allocations: 275 kB / 335.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1317, allocations: 4 kB / 335.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1317, allocations: 0 / 335.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1318, allocations: 7.922 kB / 335.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1321, allocations: 285.3 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1321, allocations: 0 / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.1323, allocations: 39.97 kB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1323, allocations: 4 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1323, allocations: 11.94 kB / 336.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1323, allocations: 0 / 336.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1324, allocations: 4 kB / 336.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.1329, allocations: 343.1 kB / 336.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.1329, allocations: 96.84 kB / 336.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.133, allocations: 8 kB / 336.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1331, allocations: 12 kB / 336.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.1332, allocations: 15.92 kB / 336.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1332, allocations: 8 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1333, allocations: 135.9 kB / 336.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1334, allocations: 0 / 336.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1336, allocations: 32 kB / 336.7 MB, free: 11.32 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.0008245/0.1345, allocations: 0.8801 MB / 337.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.1349, allocations: 195.8 kB / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.135, allocations: 0 / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.1352, allocations: 112.4 kB / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1355, allocations: 12.53 kB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1374, allocations: 1.091 MB / 339 MB, free: 8.945 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1377, allocations: 0.7244 MB / 339.8 MB, free: 8.195 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.1379, allocations: 41.33 kB / 339.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.138, allocations: 55.41 kB / 339.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.138, allocations: 0 / 339.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.1541, allocations: 3.556 MB / 343.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.1544, allocations: 198.4 kB / 343.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.132, allocations: 0 / 343.6 MB, free: 4.305 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