Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.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.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",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.00218/0.002185, allocations: 183.2 kB / 16.4 MB, free: 5.75 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.308/2.308, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001219/0.001218, allocations: 99.03 kB / 270.9 MB, free: 8.363 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.5489/0.5489, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 8 kB / 431.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 58.85 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003309/0.1422, allocations: 1.774 MB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006399/0.1486, allocations: 2.906 MB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.1489, allocations: 0 / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.1494, allocations: 87.53 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.15, allocations: 119.7 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.1528, allocations: 0.7716 MB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007927/0.1537, allocations: 411 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.1539, allocations: 85.72 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.1543, allocations: 199 kB / 496.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.1547, allocations: 238.9 kB / 496.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.133e-05/0.1548, allocations: 20 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.159, allocations: 1.927 MB / 498.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.1593, allocations: 123.5 kB / 499 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1596, allocations: 125.3 kB / 499.1 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.1623, allocations: 0.9984 MB / 0.4884 GB, free: 1.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1623, allocations: 0 / 0.4884 GB, free: 1.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1623, allocations: 0 / 0.4884 GB, free: 1.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.1623, allocations: 0 / 0.4884 GB, free: 1.078 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002416/0.1648, allocations: 0.9169 MB / 0.4893 GB, free: 116 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1648, allocations: 12.03 kB / 0.4893 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3079/0.4727, allocations: 134.8 kB / 0.4894 GB, free: 43.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.473, allocations: 70.41 kB / 0.4895 GB, free: 43.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.4738, allocations: 353.1 kB / 0.4898 GB, free: 43.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.4739, allocations: 58.06 kB / 0.4899 GB, free: 43.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.474, allocations: 71.92 kB / 0.4899 GB, free: 43.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/0.4772, allocations: 1.221 MB / 0.4911 GB, free: 43.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.4773, allocations: 1.359 kB / 0.4911 GB, free: 43.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.4774, allocations: 35.52 kB / 0.4912 GB, free: 43.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.4776, allocations: 80.64 kB / 0.4912 GB, free: 43.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/0.4821, allocations: 1.727 MB / 0.4929 GB, free: 43.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007465/0.4896, allocations: 2.97 MB / 0.4958 GB, free: 42.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.4911, allocations: 431.5 kB / 0.4962 GB, free: 42.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.4912, allocations: 12.2 kB / 0.4962 GB, free: 42.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.4912, allocations: 39.25 kB / 0.4963 GB, free: 42.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/0.4913, allocations: 0 / 0.4963 GB, free: 42.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00162/0.4929, allocations: 498.4 kB / 0.4968 GB, free: 41.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.493, allocations: 56.38 kB / 0.4968 GB, free: 41.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.4932, allocations: 208.8 kB / 0.497 GB, free: 41.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.4933, allocations: 31.08 kB / 0.497 GB, free: 41.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4935, allocations: 456.6 kB / 0.4975 GB, free: 41.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.4937, allocations: 122.6 kB / 0.4976 GB, free: 41.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.4937, allocations: 13.38 kB / 0.4976 GB, free: 41.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.4938, allocations: 334.8 kB / 0.4979 GB, free: 40.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.4943, allocations: 151.9 kB / 0.4981 GB, free: 40.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.4948, allocations: 351.4 kB / 0.4984 GB, free: 40.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.4954, allocations: 206.4 kB / 0.4986 GB, free: 40.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4954, allocations: 2.719 kB / 0.4986 GB, free: 40.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001401/0.4968, allocations: 0.5465 MB / 0.4991 GB, free: 40.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.4969, allocations: 7.781 kB / 0.4991 GB, free: 40.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4969, allocations: 5.469 kB / 0.4992 GB, free: 40.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.4969, allocations: 10.47 kB / 0.4992 GB, free: 40.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.4983, allocations: 208.5 kB / 0.4994 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.5, allocations: 3.002 MB / 0.5023 GB, free: 37.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.5006, allocations: 66.14 kB / 0.5024 GB, free: 37.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.5007, allocations: 33.03 kB / 0.5024 GB, free: 37.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005135/0.5012, allocations: 273.3 kB / 0.5026 GB, free: 37.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.5013, allocations: 19.22 kB / 0.5027 GB, free: 37.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.5033, allocations: 0.5718 MB / 0.5032 GB, free: 36.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.5034, allocations: 5.5 kB / 0.5032 GB, free: 36.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5034, allocations: 0 / 0.5032 GB, free: 36.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5034, allocations: 4.812 kB / 0.5032 GB, free: 36.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.5062, allocations: 1.187 MB / 0.5044 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.5062, allocations: 2.844 kB / 0.5044 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.5074, allocations: 173.7 kB / 0.5046 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.5074, allocations: 8.422 kB / 0.5046 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.5075, allocations: 21.39 kB / 0.5046 GB, free: 36.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.5088, allocations: 2.963 MB / 0.5075 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5088, allocations: 6.5 kB / 0.5075 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.5101, allocations: 0.5982 MB / 0.5081 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.5102, allocations: 102.2 kB / 0.5082 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.5103, allocations: 15.88 kB / 0.5082 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.5106, allocations: 16.27 kB / 0.5082 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.5108, allocations: 39.08 kB / 0.5082 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.5108, allocations: 26.59 kB / 0.5083 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.511, allocations: 128.8 kB / 0.5084 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.511, allocations: 0 / 0.5084 GB, free: 32.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001476/0.5125, allocations: 348.8 kB / 0.5087 GB, free: 32.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002531/0.515, allocations: 1.929 MB / 0.5106 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.517, allocations: 490.1 kB / 0.5111 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.5171, allocations: 3.125 kB / 0.5111 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.5182, allocations: 262.8 kB / 0.5113 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.5187, allocations: 27.56 kB / 0.5114 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007298/0.526, allocations: 6.929 MB / 0.5181 GB, free: 25.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.5266, allocations: 0.9963 MB / 0.5191 GB, free: 24.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.527, allocations: 215.1 kB / 0.5193 GB, free: 24.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.527, allocations: 0 / 0.5193 GB, free: 24.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.038/3.565, allocations: 23.61 MB / 0.5424 GB, free: 17.57 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat