Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001538/0.001538, allocations: 180.2 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 90.62 kB / 261.8 MB, free: 1.68 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.2617/0.2617, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.24e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.226, allocations: 337.7 MB / 0.7958 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.226, allocations: 94.91 kB / 0.7959 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.722/2.948, allocations: 451.1 MB / 1.236 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.169e-06/2.948, allocations: 0 / 1.236 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002506/2.948, allocations: 46.67 kB / 1.236 GB, free: 40.28 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.008911/2.957, allocations: 1.929 MB / 1.238 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.726e-05/2.957, allocations: 8.031 kB / 1.238 GB, free: 38.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/2.96, allocations: 233.8 kB / 1.239 GB, free: 38.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/2.964, allocations: 1.096 MB / 1.24 GB, free: 36.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/2.964, allocations: 44 kB / 1.24 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/2.965, allocations: 72 kB / 1.24 GB, free: 36.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004195/2.969, allocations: 1.387 MB / 1.241 GB, free: 35.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004832/2.974, allocations: 1.614 MB / 1.243 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/2.974, allocations: 11.88 kB / 1.243 GB, free: 33.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/2.975, allocations: 8 kB / 1.243 GB, free: 33.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/2.975, allocations: 39.95 kB / 1.243 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/2.99, allocations: 10.43 MB / 1.253 GB, free: 22.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/2.992, allocations: 0.6123 MB / 1.254 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/2.992, allocations: 359.1 kB / 1.254 GB, free: 21.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006931/2.999, allocations: 4.287 MB / 1.258 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/2.999, allocations: 43 kB / 1.258 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 4.509e-06/2.999, allocations: 0 / 1.258 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.008786/3.008, allocations: 1.219 MB / 1.259 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/3.008, allocations: 368.3 kB / 1.26 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/3.01, allocations: 1.026 MB / 1.261 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/3.011, allocations: 25.7 kB / 1.261 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/3.011, allocations: 0.9122 MB / 1.262 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/3.011, allocations: 197.3 kB / 1.262 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/3.012, allocations: 0 / 1.262 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001406/3.012, allocations: 357.9 kB / 1.262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/3.012, allocations: 343.9 kB / 1.262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/3.014, allocations: 0.9314 MB / 1.263 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007144/3.021, allocations: 1.076 MB / 1.264 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-05/3.021, allocations: 4 kB / 1.264 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.01032/3.031, allocations: 1.873 MB / 1.266 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/3.031, allocations: 12 kB / 1.266 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/3.031, allocations: 20 kB / 1.266 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.263e-05/3.031, allocations: 28 kB / 1.266 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/3.035, allocations: 0.5036 MB / 1.267 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/3.037, allocations: 1.91 MB / 1.269 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/3.04, allocations: 206.3 kB / 1.269 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/3.04, allocations: 87.95 kB / 1.269 GB, free: 4.855 MB / 0.4948 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.0004502/3.041, allocations: 164.4 kB / 1.269 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008558/3.049, allocations: 1.201 MB / 1.27 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/3.05, allocations: 138.4 kB / 1.27 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00642/3.056, allocations: 1.686 MB / 1.272 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/3.056, allocations: 15.98 kB / 1.272 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/3.056, allocations: 0 / 1.272 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/3.056, allocations: 7.984 kB / 1.272 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/3.059, allocations: 1.028 MB / 1.273 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/3.059, allocations: 0 / 1.273 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/3.061, allocations: 223.7 kB / 1.273 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007574/3.062, allocations: 80.72 kB / 1.273 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/3.062, allocations: 19.97 kB / 1.273 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/3.064, allocations: 1.81 MB / 1.275 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/3.064, allocations: 7.969 kB / 1.275 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005559/3.07, allocations: 1.28 MB / 1.276 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/3.071, allocations: 287 kB / 1.277 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/3.071, allocations: 0 / 1.277 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/3.073, allocations: 55.88 kB / 1.277 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/3.073, allocations: 60.69 kB / 1.277 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/3.073, allocations: 63.92 kB / 1.277 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001809/3.075, allocations: 0.7485 MB / 1.278 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/3.075, allocations: 4 kB / 1.278 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005761/3.081, allocations: 0.8954 MB / 1.278 GB, free: 10.96 MB / 0.5105 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.01031/3.091, allocations: 2.995 MB / 1.281 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006646/3.098, allocations: 1.144 MB / 1.282 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.55e-05/3.098, allocations: 8.641 kB / 1.282 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/3.101, allocations: 0.5035 MB / 1.283 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005674/3.106, allocations: 0.5892 MB / 1.284 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/3.117, allocations: 2.229 MB / 1.286 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/3.118, allocations: 1.28 MB / 1.287 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003263/3.121, allocations: 421.1 kB / 1.287 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/3.123, allocations: 0.6281 MB / 1.288 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/3.123, allocations: 0 / 1.288 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4788/3.602, allocations: 48.62 MB / 1.335 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/3.602, allocations: 201.6 kB / 1.336 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.695/7.297, allocations: 0 / 1.336 GB, free: 63.41 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat