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.001679/0.001679, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.259/2.259, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001186/0.001185, allocations: 94.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2912/0.2912, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/3.994e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1375, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.367, allocations: 338.4 MB / 0.8033 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.367, allocations: 87.77 kB / 0.8034 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.198/3.565, allocations: 454.8 MB / 1.248 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.305e-06/3.565, allocations: 4 kB / 1.248 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001541/3.565, allocations: 47.92 kB / 1.248 GB, free: 20.06 MB / 0.4948 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.006154/3.571, allocations: 1.919 MB / 1.249 GB, free: 18.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/3.571, allocations: 8.031 kB / 1.249 GB, free: 18.08 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004323/3.572, allocations: 194.5 kB / 1.25 GB, free: 17.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/3.574, allocations: 249.7 kB / 1.25 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/3.577, allocations: 1.08 MB / 1.251 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-05/3.577, allocations: 102.7 kB / 1.251 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/3.578, allocations: 128 kB / 1.251 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/3.582, allocations: 1.9 MB / 1.253 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/3.582, allocations: 3.938 kB / 1.253 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/3.582, allocations: 72 kB / 1.253 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/3.582, allocations: 43.89 kB / 1.253 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/3.586, allocations: 1.555 MB / 1.255 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/3.6, allocations: 9.278 MB / 1.264 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/3.603, allocations: 1.022 MB / 1.265 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009924/3.604, allocations: 482 kB / 1.265 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/3.614, allocations: 6.024 MB / 1.271 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/3.614, allocations: 55.28 kB / 1.271 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 4.299e-06/3.614, allocations: 0 / 1.271 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.004715/3.619, allocations: 1.033 MB / 1.272 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002329/3.619, allocations: 376.6 kB / 1.272 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/3.621, allocations: 0.9924 MB / 1.273 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/3.622, allocations: 45.7 kB / 1.274 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007936/3.622, allocations: 0.7572 MB / 1.274 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/3.623, allocations: 339.2 kB / 1.275 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/3.623, allocations: 28 kB / 1.275 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002123/3.623, allocations: 362.8 kB / 1.275 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/3.625, allocations: 371.9 kB / 1.275 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/3.626, allocations: 0.9786 MB / 1.276 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/3.628, allocations: 0.5211 MB / 1.277 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/3.628, allocations: 4 kB / 1.277 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004104/3.632, allocations: 1.382 MB / 1.278 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/3.632, allocations: 13 kB / 1.278 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/3.632, allocations: 23.94 kB / 1.278 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.445e-05/3.632, allocations: 35.98 kB / 1.278 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005644/3.638, allocations: 0.5304 MB / 1.279 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.394/4.032, allocations: 1.872 MB / 1.281 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/4.035, allocations: 205.8 kB / 1.281 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004149/4.035, allocations: 90.77 kB / 1.281 GB, free: 60.13 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 () * 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.0005181/4.036, allocations: 211.5 kB / 1.281 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006208/4.036, allocations: 149.9 kB / 1.281 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007275/4.044, allocations: 2.317 MB / 1.283 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/4.044, allocations: 15.06 kB / 1.283 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/4.044, allocations: 3.562 kB / 1.283 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/4.044, allocations: 3.891 kB / 1.283 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/4.054, allocations: 3.745 MB / 1.287 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/4.054, allocations: 3.688 kB / 1.287 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/4.057, allocations: 307.6 kB / 1.287 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/4.058, allocations: 110.3 kB / 1.288 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/4.058, allocations: 47.03 kB / 1.288 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/4.06, allocations: 1.785 MB / 1.289 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/4.06, allocations: 9.75 kB / 1.289 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/4.066, allocations: 1.988 MB / 1.291 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009559/4.067, allocations: 291.1 kB / 1.292 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007871/4.067, allocations: 29.94 kB / 1.292 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/4.07, allocations: 108.3 kB / 1.292 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/4.071, allocations: 109.6 kB / 1.292 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003622/4.071, allocations: 87.31 kB / 1.292 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00212/4.073, allocations: 0.779 MB / 1.293 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.192e-06/4.073, allocations: 0 / 1.293 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005286/4.079, allocations: 0.9409 MB / 1.294 GB, free: 55.52 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 () * 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.01054/4.089, allocations: 5.724 MB / 1.299 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007815/4.097, allocations: 1.337 MB / 1.3 GB, free: 51.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.119e-05/4.097, allocations: 7.094 kB / 1.3 GB, free: 51.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003685/4.101, allocations: 0.6871 MB / 1.301 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007893/4.109, allocations: 0.7734 MB / 1.302 GB, free: 51.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/4.12, allocations: 2.684 MB / 1.304 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/4.122, allocations: 1.292 MB / 1.306 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/4.123, allocations: 0.6601 MB / 1.306 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.442e-06/4.123, allocations: 0 / 1.306 GB, free: 50.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.737/7.86, allocations: 59.11 MB / 1.364 GB, free: 47.21 MB / 0.5105 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