Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.002251/0.002251, 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.224/2.224, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001101/0.0011, allocations: 97 kB / 262.1 MB, free: 13.87 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.2933/0.2933, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.701e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4132, allocations: 58.86 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.5829, allocations: 89.38 MB / 0.5533 GB, free: 9.836 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/0.5834, allocations: 95.94 kB / 0.5534 GB, free: 9.742 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02773/0.6111, allocations: 5.774 MB / 0.559 GB, free: 3.891 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6112, allocations: 0 / 0.559 GB, free: 3.891 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6112, allocations: 4 kB / 0.559 GB, free: 3.887 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009186/0.6122, allocations: 0.4909 MB / 0.5595 GB, free: 3.352 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.6122, allocations: 12.03 kB / 0.5595 GB, free: 3.34 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.614, allocations: 171.4 kB / 0.5597 GB, free: 3.172 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.6145, allocations: 250.7 kB / 0.5599 GB, free: 2.887 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.6146, allocations: 8 kB / 0.5599 GB, free: 2.879 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.6147, allocations: 12 kB / 0.5599 GB, free: 2.867 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008561/0.6155, allocations: 324.8 kB / 0.5602 GB, free: 2.547 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.6164, allocations: 384.4 kB / 0.5606 GB, free: 2.133 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6165, allocations: 0 / 0.5606 GB, free: 2.133 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.6165, allocations: 0 / 0.5606 GB, free: 2.133 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.587e-05/0.6166, allocations: 28.53 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.6199, allocations: 1.622 MB / 0.5622 GB, free: 384 kB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.6202, allocations: 82.47 kB / 0.5623 GB, free: 292 kB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.6203, allocations: 32.84 kB / 0.5623 GB, free: 256 kB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.6204, allocations: 16.08 kB / 0.5624 GB, free: 240 kB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.6204, allocations: 30.56 kB / 0.5624 GB, free: 200 kB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.6204, allocations: 0 / 0.5624 GB, free: 200 kB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004705/0.6209, allocations: 105.5 kB / 0.5625 GB, free: 88 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.621, allocations: 55.41 kB / 0.5625 GB, free: 20 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.6213, allocations: 194.5 kB / 0.5627 GB, free: 15.82 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.6214, allocations: 29.7 kB / 0.5627 GB, free: 15.79 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.6216, allocations: 254 kB / 0.563 GB, free: 15.54 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.6216, allocations: 27.64 kB / 0.563 GB, free: 15.51 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.6216, allocations: 0 / 0.563 GB, free: 15.51 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6218, allocations: 322.8 kB / 0.5633 GB, free: 15.18 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.622, allocations: 55.86 kB / 0.5634 GB, free: 15.13 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.6222, allocations: 97.42 kB / 0.5635 GB, free: 15.02 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.6225, allocations: 73.31 kB / 0.5635 GB, free: 14.95 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6225, allocations: 3.938 kB / 0.5635 GB, free: 14.94 MB / 411.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005793/0.6231, allocations: 181.4 kB / 0.5637 GB, free: 14.76 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.6231, allocations: 8.188 kB / 0.5637 GB, free: 14.75 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6231, allocations: 4 kB / 0.5637 GB, free: 14.75 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.6232, allocations: 4 kB / 0.5637 GB, free: 14.74 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.6259, allocations: 123.8 kB / 0.5639 GB, free: 14.62 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.6286, allocations: 1.84 MB / 0.5656 GB, free: 12.71 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.6291, allocations: 23.73 kB / 0.5657 GB, free: 12.69 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.6291, allocations: 16.19 kB / 0.5657 GB, free: 12.67 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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.0001335/0.6293, allocations: 108.9 kB / 0.5658 GB, free: 12.56 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003736/0.6296, allocations: 109.5 kB / 0.5659 GB, free: 12.45 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.6297, allocations: 15.81 kB / 0.5659 GB, free: 12.43 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005825/0.6303, allocations: 155.4 kB / 0.5661 GB, free: 12.27 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6303, allocations: 0 / 0.5661 GB, free: 12.27 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6303, allocations: 4 kB / 0.5661 GB, free: 12.27 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6304, allocations: 3.953 kB / 0.5661 GB, free: 12.26 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.6308, allocations: 238 kB / 0.5663 GB, free: 11.99 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6308, allocations: 0 / 0.5663 GB, free: 11.99 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.6331, allocations: 111.3 kB / 0.5664 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.6331, allocations: 0 / 0.5664 GB, free: 11.89 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.6332, allocations: 8 kB / 0.5664 GB, free: 11.88 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.635, allocations: 1.793 MB / 0.5682 GB, free: 10.02 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.635, allocations: 0 / 0.5682 GB, free: 10.02 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.6355, allocations: 219.3 kB / 0.5684 GB, free: 9.785 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6357, allocations: 89.02 kB / 0.5685 GB, free: 9.68 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.6357, allocations: 0 / 0.5685 GB, free: 9.68 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.6361, allocations: 7.984 kB / 0.5685 GB, free: 9.672 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.6362, allocations: 7.984 kB / 0.5685 GB, free: 9.664 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.6362, allocations: 8.094 kB / 0.5685 GB, free: 9.656 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.6364, allocations: 155.5 kB / 0.5686 GB, free: 9.504 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6364, allocations: 3.938 kB / 0.5686 GB, free: 9.5 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005601/0.637, allocations: 79.69 kB / 0.5687 GB, free: 9.422 MB / 411.1 MB 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 (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009838/0.638, allocations: 0.7906 MB / 0.5695 GB, free: 8.605 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.002506/0.6405, allocations: 183.7 kB / 0.5697 GB, free: 8.426 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.6406, allocations: 4 kB / 0.5697 GB, free: 8.422 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.642, allocations: 92.22 kB / 0.5697 GB, free: 8.332 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.6424, allocations: 12.05 kB / 0.5698 GB, free: 8.32 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.6439, allocations: 400.2 kB / 0.5701 GB, free: 7.883 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.6444, allocations: 0.7943 MB / 0.5709 GB, free: 7.062 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.6446, allocations: 67.42 kB / 0.571 GB, free: 7 MB / 411.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6446, allocations: 0 / 0.571 GB, free: 7 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.838/3.483, allocations: 6.903 MB / 0.5777 GB, free: 100 kB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat