Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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.001563/0.001562, allocations: 185.2 kB / 16.41 MB, free: 5.723 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.071/2.071, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001167/0.001166, allocations: 94.84 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.607/0.607, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004769, allocations: 8 kB / 431.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.305, allocations: 338.5 MB / 0.8094 GB, free: 32.72 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/1.306, allocations: 94.33 kB / 0.8094 GB, free: 32.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.31/3.615, allocations: 456.4 MB / 1.255 GB, free: 240 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/3.615, allocations: 0 / 1.255 GB, free: 240 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001883/3.616, allocations: 43.98 kB / 1.255 GB, free: 196 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.4074/4.023, allocations: 2.114 MB / 1.257 GB, free: 47.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/4.023, allocations: 13.11 kB / 1.257 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00125/4.024, allocations: 207.2 kB / 1.257 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/4.027, allocations: 234.3 kB / 1.258 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/4.031, allocations: 1.097 MB / 1.259 GB, free: 46.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/4.031, allocations: 99.12 kB / 1.259 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/4.032, allocations: 124.8 kB / 1.259 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006144/4.038, allocations: 1.933 MB / 1.261 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.138e-05/4.038, allocations: 9.234 kB / 1.261 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004355/4.038, allocations: 64.88 kB / 1.261 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/4.038, allocations: 34.81 kB / 1.261 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005497/4.044, allocations: 1.604 MB / 1.262 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/4.06, allocations: 9.277 MB / 1.272 GB, free: 40.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/4.063, allocations: 1.04 MB / 1.273 GB, free: 40.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008878/4.072, allocations: 5.832 MB / 1.278 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/4.072, allocations: 53.42 kB / 1.278 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 4.458e-06/4.072, allocations: 1.188 kB / 1.278 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.00614/4.078, allocations: 1.361 MB / 1.28 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/4.078, allocations: 377.1 kB / 1.28 GB, free: 34.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/4.08, allocations: 1.004 MB / 1.281 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004174/4.081, allocations: 48.02 kB / 1.281 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/4.081, allocations: 0.764 MB / 1.282 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/4.082, allocations: 340.1 kB / 1.282 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/4.082, allocations: 28.81 kB / 1.282 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001206/4.082, allocations: 365.7 kB / 1.282 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/4.084, allocations: 390.4 kB / 1.283 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/4.086, allocations: 1 MB / 1.284 GB, free: 32.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/4.087, allocations: 0.537 MB / 1.284 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-05/4.088, allocations: 5.844 kB / 1.284 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004973/4.093, allocations: 1.42 MB / 1.286 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/4.093, allocations: 11.94 kB / 1.286 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/4.093, allocations: 21.06 kB / 1.286 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.857e-05/4.093, allocations: 27.75 kB / 1.286 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005609/4.098, allocations: 0.534 MB / 1.286 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/4.101, allocations: 1.879 MB / 1.288 GB, free: 31.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/4.104, allocations: 212.7 kB / 1.288 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004647/4.104, allocations: 93.14 kB / 1.288 GB, free: 30.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00135/4.105, allocations: 352.8 kB / 1.289 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006445/4.106, allocations: 148.1 kB / 1.289 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007028/4.113, allocations: 2.344 MB / 1.291 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/4.113, allocations: 17.47 kB / 1.291 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/4.113, allocations: 0 / 1.291 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/4.113, allocations: 5.594 kB / 1.291 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/4.124, allocations: 3.784 MB / 1.295 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/4.124, allocations: 9.906 kB / 1.295 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/4.126, allocations: 302.8 kB / 1.295 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/4.127, allocations: 108.9 kB / 1.295 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/4.128, allocations: 52.12 kB / 1.295 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/4.13, allocations: 1.805 MB / 1.297 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/4.13, allocations: 12.42 kB / 1.297 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/4.135, allocations: 2.017 MB / 1.299 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/4.136, allocations: 291.2 kB / 1.299 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/4.137, allocations: 33.88 kB / 1.299 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/4.139, allocations: 104.2 kB / 1.3 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/4.14, allocations: 113.1 kB / 1.3 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003025/4.14, allocations: 80.22 kB / 1.3 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001705/4.142, allocations: 0.7997 MB / 1.301 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.21e-07/4.142, allocations: 0 / 1.301 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005059/4.147, allocations: 0.9358 MB / 1.301 GB, free: 26.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (126): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009935/4.157, allocations: 5.767 MB / 1.307 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007623/4.164, allocations: 1.373 MB / 1.308 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/4.164, allocations: 5.812 kB / 1.308 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/4.168, allocations: 0.7045 MB / 1.309 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/4.176, allocations: 0.7706 MB / 1.31 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/4.206, allocations: 20.74 MB / 1.33 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/4.207, allocations: 1.293 MB / 1.331 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/4.209, allocations: 0.6588 MB / 1.332 GB, free: 22.08 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/4.209, allocations: 0 / 1.332 GB, free: 22.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.04/8.249, allocations: 58.89 MB / 1.39 GB, free: 18.91 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat