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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.5 MB / 230.3 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008565, allocations: 88.3 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.466e-05, allocations: 4 kB / 337.1 MB, free: 9.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09072, allocations: 50.41 MB / 387.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4355, allocations: 77.14 MB / 464.7 MB, free: 1.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.4358, allocations: 67.97 kB / 464.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.4466, allocations: 3.763 MB / 468.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4466, allocations: 0 / 468.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4466, allocations: 4 kB / 468.5 MB, free: 13.87 MB / 346.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.001867/0.4485, allocations: 0.6354 MB / 469.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4485, allocations: 8.469 kB / 469.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.4486, allocations: 23.77 kB / 469.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.4488, allocations: 200.8 kB / 469.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4488, allocations: 4 kB / 469.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.4488, allocations: 7.938 kB / 469.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000288/0.4491, allocations: 160.1 kB / 469.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.4494, allocations: 158.4 kB / 469.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4494, allocations: 0 / 469.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.4494, allocations: 0 / 469.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4494, allocations: 4 kB / 469.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.4502, allocations: 0.5055 MB / 470.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.4505, allocations: 154.5 kB / 470.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.4506, allocations: 85.89 kB / 470.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.4507, allocations: 8 kB / 470.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4507, allocations: 30.56 kB / 470.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4507, allocations: 0 / 470.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003394/0.4511, allocations: 166.9 kB / 470.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.4511, allocations: 59.33 kB / 470.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.4512, allocations: 129.5 kB / 470.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4513, allocations: 29.7 kB / 470.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.4513, allocations: 119.9 kB / 471 MB, free: 11.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.4514, allocations: 55.28 kB / 471 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.4514, allocations: 0 / 471 MB, free: 11.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.4515, allocations: 322.8 kB / 471.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.4516, allocations: 55.98 kB / 471.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.4517, allocations: 88.38 kB / 471.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.4518, allocations: 75.95 kB / 471.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4518, allocations: 0 / 471.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002953/0.4521, allocations: 187.2 kB / 471.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4522, allocations: 4 kB / 471.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.4522, allocations: 4 kB / 471.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4522, allocations: 0 / 471.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4524, allocations: 39.91 kB / 471.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4525, allocations: 3.938 kB / 471.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4526, allocations: 23.92 kB / 471.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.4526, allocations: 15.98 kB / 471.8 MB, free: 10.34 MB / 346.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 () * 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 8.242e-05/0.4527, allocations: 108.9 kB / 471.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002695/0.453, allocations: 170.5 kB / 472.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.453, allocations: 11.81 kB / 472.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.4534, allocations: 226.2 kB / 472.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4534, allocations: 0 / 472.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4535, allocations: 7.922 kB / 472.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4535, allocations: 0 / 472.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.4537, allocations: 250 kB / 472.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4537, allocations: 0 / 472.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.454, allocations: 43.91 kB / 472.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.454, allocations: 4 kB / 472.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.454, allocations: 3.984 kB / 472.6 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.454, allocations: 0 / 472.6 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.454, allocations: 4 kB / 472.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.4543, allocations: 297.2 kB / 472.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.4544, allocations: 88.95 kB / 473 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.4544, allocations: 4 kB / 473 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4546, allocations: 11.98 kB / 473 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.4547, allocations: 19.91 kB / 473.1 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4547, allocations: 8 kB / 473.1 MB, free: 9.023 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.907e-05/0.4548, allocations: 114.5 kB / 473.2 MB, free: 8.914 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4548, allocations: 0 / 473.2 MB, free: 8.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.4551, allocations: 39.83 kB / 473.2 MB, free: 8.875 MB / 346.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 () * 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.0006565/0.4558, allocations: 0.834 MB / 474.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.4561, allocations: 153.1 kB / 474.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4561, allocations: 0 / 474.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.4562, allocations: 95.84 kB / 474.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.4564, allocations: 16.7 kB / 474.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.457, allocations: 278.8 kB / 474.6 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.4573, allocations: 0.7281 MB / 475.3 MB, free: 6.691 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.4575, allocations: 33.19 kB / 475.3 MB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.4576, allocations: 51.41 kB / 475.4 MB, free: 6.605 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4576, allocations: 0 / 475.4 MB, free: 6.605 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.4784, allocations: 2.81 MB / 478.2 MB, free: 3.824 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.4786, allocations: 144.6 kB / 478.3 MB, free: 3.629 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/1.999, allocations: 0 / 478.3 MB, free: 3.629 MB / 346.7 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