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.00215/0.00215, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 96.03 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.311/0.311, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 6.999e-05/7.011e-05, allocations: 3.984 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5314, allocations: 58.85 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8486/1.38, allocations: 337.7 MB / 0.7958 GB, free: 14.82 MB / 491.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/1.38, allocations: 90.77 kB / 0.7959 GB, free: 14.77 MB / 491.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.632/4.013, allocations: 451.1 MB / 1.236 GB, free: 45.75 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.054e-06/4.013, allocations: 1.688 kB / 1.236 GB, free: 45.75 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0002291/4.013, allocations: 46.94 kB / 1.236 GB, free: 45.75 MB / 0.4952 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.007792/4.021, allocations: 1.928 MB / 1.238 GB, free: 45 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/4.021, allocations: 9.312 kB / 1.238 GB, free: 45 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/4.023, allocations: 238.7 kB / 1.239 GB, free: 44.91 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004168/4.028, allocations: 1.094 MB / 1.24 GB, free: 44.64 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/4.028, allocations: 44.53 kB / 1.24 GB, free: 44.64 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/4.028, allocations: 74.59 kB / 1.24 GB, free: 44.64 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004379/4.032, allocations: 1.383 MB / 1.241 GB, free: 44.63 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/4.037, allocations: 1.624 MB / 1.243 GB, free: 44.09 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/4.037, allocations: 5.188 kB / 1.243 GB, free: 44.09 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/4.038, allocations: 7.875 kB / 1.243 GB, free: 44.09 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/4.038, allocations: 37.5 kB / 1.243 GB, free: 44.09 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/4.056, allocations: 10.42 MB / 1.253 GB, free: 36.54 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/4.058, allocations: 0.622 MB / 1.253 GB, free: 36.52 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009266/4.059, allocations: 360.7 kB / 1.254 GB, free: 36.51 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/4.069, allocations: 4.284 MB / 1.258 GB, free: 33.05 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.489e-05/4.069, allocations: 57.06 kB / 1.258 GB, free: 33.01 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=53): time 5.571e-06/4.069, allocations: 0 / 1.258 GB, free: 33.01 MB / 0.4952 GB Notification: Performance of matching and sorting (n=53): time 0.01365/4.083, allocations: 1.214 MB / 1.259 GB, free: 32.91 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/4.083, allocations: 375.6 kB / 1.26 GB, free: 32.47 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/4.086, allocations: 1.015 MB / 1.261 GB, free: 32.29 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/4.087, allocations: 29.39 kB / 1.261 GB, free: 32.26 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/4.088, allocations: 0.8971 MB / 1.262 GB, free: 31.71 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005334/4.089, allocations: 196.3 kB / 1.262 GB, free: 31.59 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/4.089, allocations: 0 / 1.262 GB, free: 31.59 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001766/4.089, allocations: 366 kB / 1.262 GB, free: 31.28 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/4.091, allocations: 340.2 kB / 1.262 GB, free: 31.27 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/4.093, allocations: 0.9327 MB / 1.263 GB, free: 30.54 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/4.104, allocations: 1.071 MB / 1.264 GB, free: 30.53 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-05/4.104, allocations: 7.797 kB / 1.264 GB, free: 30.53 MB / 0.4952 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.0145/4.118, allocations: 1.806 MB / 1.266 GB, free: 30.45 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/4.118, allocations: 14.5 kB / 1.266 GB, free: 30.45 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-05/4.118, allocations: 15.88 kB / 1.266 GB, free: 30.45 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-05/4.119, allocations: 29.75 kB / 1.266 GB, free: 30.45 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006502/4.125, allocations: 0.5033 MB / 1.267 GB, free: 30.45 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/4.128, allocations: 1.905 MB / 1.269 GB, free: 28.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/4.132, allocations: 199.7 kB / 1.269 GB, free: 28.61 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/4.133, allocations: 91.7 kB / 1.269 GB, free: 28.61 MB / 0.4952 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.0006246/4.133, allocations: 160.6 kB / 1.269 GB, free: 28.49 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01196/4.145, allocations: 1.202 MB / 1.27 GB, free: 28.38 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008971/4.146, allocations: 137 kB / 1.27 GB, free: 28.31 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/4.157, allocations: 1.694 MB / 1.272 GB, free: 28.18 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-05/4.157, allocations: 16.69 kB / 1.272 GB, free: 28.18 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/4.157, allocations: 3.062 kB / 1.272 GB, free: 28.18 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/4.157, allocations: 3.703 kB / 1.272 GB, free: 28.18 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/4.161, allocations: 1.029 MB / 1.273 GB, free: 27.98 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/4.161, allocations: 0.75 kB / 1.273 GB, free: 27.98 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/4.163, allocations: 230.4 kB / 1.273 GB, free: 27.98 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009237/4.164, allocations: 76.72 kB / 1.273 GB, free: 27.98 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/4.164, allocations: 23.86 kB / 1.273 GB, free: 27.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/4.166, allocations: 1.803 MB / 1.275 GB, free: 26.29 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/4.166, allocations: 6.438 kB / 1.275 GB, free: 26.29 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/4.171, allocations: 1.286 MB / 1.276 GB, free: 26.03 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009967/4.172, allocations: 284.6 kB / 1.277 GB, free: 25.85 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/4.173, allocations: 2.156 kB / 1.277 GB, free: 25.85 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/4.175, allocations: 51.19 kB / 1.277 GB, free: 25.85 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/4.176, allocations: 62.83 kB / 1.277 GB, free: 25.85 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/4.176, allocations: 65.41 kB / 1.277 GB, free: 25.85 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.001576/4.177, allocations: 0.7457 MB / 1.277 GB, free: 25.74 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.42e-07/4.178, allocations: 2.281 kB / 1.277 GB, free: 25.74 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004966/4.183, allocations: 0.903 MB / 1.278 GB, free: 25.55 MB / 0.4952 GB 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 (90): * Single equations (assignments): 75 * 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.009921/4.192, allocations: 2.991 MB / 1.281 GB, free: 24.54 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.006283/4.199, allocations: 1.145 MB / 1.282 GB, free: 24.53 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/4.199, allocations: 4.75 kB / 1.282 GB, free: 24.53 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/4.202, allocations: 0.5 MB / 1.283 GB, free: 24.52 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005788/4.207, allocations: 0.5862 MB / 1.283 GB, free: 24.5 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/4.217, allocations: 2.27 MB / 1.286 GB, free: 23.79 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/4.219, allocations: 1.273 MB / 1.287 GB, free: 39.07 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/4.22, allocations: 0.6434 MB / 1.288 GB, free: 39.07 MB / 0.5108 GB Notification: Performance of SimCode: time 1.032e-06/4.22, allocations: 0 / 1.288 GB, free: 39.07 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.656/7.876, allocations: 57.92 MB / 1.344 GB, free: 35.75 MB / 0.5108 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