Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001478/0.001478, allocations: 180.1 kB / 8.365 MB, free: 0.7109 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.206/2.206, 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.001062/0.001062, allocations: 95.83 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.2934/0.2934, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.716e-05, allocations: 0 / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4047, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.581, allocations: 92.27 MB / 0.5561 GB, free: 6.93 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/0.5815, allocations: 95.94 kB / 0.5562 GB, free: 6.836 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03983/0.6213, allocations: 7.636 MB / 0.5637 GB, free: 15.17 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6214, allocations: 7.938 kB / 0.5637 GB, free: 15.16 MB / 411.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.6214, allocations: 0 / 0.5637 GB, free: 15.16 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007425/0.6221, allocations: 438.7 kB / 0.5641 GB, free: 14.69 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.6222, allocations: 12.03 kB / 0.5641 GB, free: 14.68 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.6223, allocations: 7.906 kB / 0.5641 GB, free: 14.67 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.6225, allocations: 186.7 kB / 0.5643 GB, free: 14.45 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.6225, allocations: 4 kB / 0.5643 GB, free: 14.44 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.6225, allocations: 12 kB / 0.5643 GB, free: 14.43 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003141/0.6229, allocations: 104 kB / 0.5644 GB, free: 14.33 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.6232, allocations: 105.6 kB / 0.5645 GB, free: 14.22 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6232, allocations: 0 / 0.5645 GB, free: 14.22 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.6232, allocations: 4 kB / 0.5645 GB, free: 14.21 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6232, allocations: 0 / 0.5645 GB, free: 14.21 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.6245, allocations: 0.4914 MB / 0.565 GB, free: 13.67 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.6248, allocations: 86.56 kB / 0.5651 GB, free: 13.57 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.6249, allocations: 28.86 kB / 0.5651 GB, free: 13.54 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.6249, allocations: 7.984 kB / 0.5651 GB, free: 13.54 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.625, allocations: 38.56 kB / 0.5651 GB, free: 13.49 MB / 411.1 MB Notification: Performance of pre-optimization done (n=11): time 2.474e-06/0.625, allocations: 0 / 0.5651 GB, free: 13.49 MB / 411.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003171/0.6253, allocations: 89.83 kB / 0.5652 GB, free: 13.39 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6254, allocations: 55.34 kB / 0.5653 GB, free: 13.33 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.6255, allocations: 113.1 kB / 0.5654 GB, free: 13.21 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6255, allocations: 25.7 kB / 0.5654 GB, free: 13.18 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.6257, allocations: 178.2 kB / 0.5656 GB, free: 13 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.6257, allocations: 43.39 kB / 0.5656 GB, free: 12.96 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.6257, allocations: 0 / 0.5656 GB, free: 12.96 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6259, allocations: 311.8 kB / 0.5659 GB, free: 12.64 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.18e-05/0.626, allocations: 27.98 kB / 0.5659 GB, free: 12.62 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.6261, allocations: 61.16 kB / 0.566 GB, free: 12.54 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.6262, allocations: 40.02 kB / 0.566 GB, free: 12.5 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6262, allocations: 3.953 kB / 0.566 GB, free: 12.5 MB / 411.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003102/0.6266, allocations: 121.4 kB / 0.5662 GB, free: 12.37 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6266, allocations: 8 kB / 0.5662 GB, free: 12.36 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6266, allocations: 0 / 0.5662 GB, free: 12.36 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6266, allocations: 4 kB / 0.5662 GB, free: 12.36 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.6271, allocations: 52.05 kB / 0.5662 GB, free: 12.31 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004623/0.6276, allocations: 0.59 MB / 0.5668 GB, free: 11.7 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.6278, allocations: 15.89 kB / 0.5668 GB, free: 11.68 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.6278, allocations: 7.953 kB / 0.5668 GB, free: 11.67 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.628, allocations: 113 kB / 0.5669 GB, free: 11.55 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002521/0.6282, allocations: 101.5 kB / 0.567 GB, free: 11.45 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.6283, allocations: 0 / 0.567 GB, free: 11.45 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.6287, allocations: 138.5 kB / 0.5672 GB, free: 11.31 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6287, allocations: 8 kB / 0.5672 GB, free: 11.3 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6288, allocations: 11.89 kB / 0.5672 GB, free: 11.29 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.6288, allocations: 0 / 0.5672 GB, free: 11.29 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.6291, allocations: 182.2 kB / 0.5674 GB, free: 11.08 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6292, allocations: 0 / 0.5674 GB, free: 11.08 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.6295, allocations: 39.97 kB / 0.5674 GB, free: 11.04 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.6296, allocations: 0 / 0.5674 GB, free: 11.04 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.6296, allocations: 0 / 0.5674 GB, free: 11.04 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004334/0.63, allocations: 0.5937 MB / 0.568 GB, free: 10.42 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.6301, allocations: 3.984 kB / 0.568 GB, free: 10.42 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.6305, allocations: 243.5 kB / 0.5682 GB, free: 10.16 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.6306, allocations: 104.9 kB / 0.5683 GB, free: 10.04 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.6307, allocations: 0 / 0.5683 GB, free: 10.04 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.6309, allocations: 20.09 kB / 0.5683 GB, free: 10.02 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.631, allocations: 11.98 kB / 0.5683 GB, free: 10.01 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.631, allocations: 4 kB / 0.5683 GB, free: 10.01 MB / 411.1 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.6311, allocations: 87.28 kB / 0.5684 GB, free: 9.922 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6311, allocations: 0 / 0.5684 GB, free: 9.922 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000578/0.6317, allocations: 75.86 kB / 0.5685 GB, free: 9.848 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.6328, allocations: 0.8828 MB / 0.5694 GB, free: 8.938 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.6333, allocations: 84.17 kB / 0.5694 GB, free: 8.855 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6333, allocations: 8 kB / 0.5694 GB, free: 8.848 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.6335, allocations: 55.92 kB / 0.5695 GB, free: 8.793 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.6339, allocations: 7.812 kB / 0.5695 GB, free: 8.785 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6351, allocations: 281.9 kB / 0.5698 GB, free: 8.465 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6355, allocations: 0.708 MB / 0.5705 GB, free: 7.73 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6356, allocations: 39.42 kB / 0.5705 GB, free: 7.695 MB / 411.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6357, allocations: 3.938 kB / 0.5705 GB, free: 7.691 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.764/3.4, allocations: 3.158 MB / 0.5736 GB, free: 4.547 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat