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.001708/0.001708, allocations: 183.9 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001183/0.001182, allocations: 92.3 kB / 270.9 MB, free: 8.355 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.57/0.57, allocations: 43.57 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004869, allocations: 12 kB / 431.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 58.85 MB / 490.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002706/0.1364, allocations: 1.45 MB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1393, allocations: 1.225 MB / 493 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1395, allocations: 4 kB / 493 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.1397, allocations: 35.77 kB / 493.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.14, allocations: 47.84 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.141, allocations: 199.5 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1412, allocations: 83.73 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.1413, allocations: 9.109 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1415, allocations: 51.7 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1416, allocations: 47.83 kB / 493.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1416, allocations: 4 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1428, allocations: 495.2 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.1429, allocations: 19.91 kB / 494 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.143, allocations: 37.7 kB / 494 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.1436, allocations: 215.8 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1437, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1437, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1437, allocations: 0 / 494.2 MB, free: 7.172 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009265/0.1446, allocations: 431 kB / 494.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.509e-05/0.1447, allocations: 8.031 kB / 494.7 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.273e-05/0.1448, allocations: 42.55 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.1449, allocations: 19.77 kB / 494.7 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.1451, allocations: 171 kB / 494.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1451, allocations: 11.94 kB / 494.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.1452, allocations: 8 kB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.1457, allocations: 153.6 kB / 495.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1457, allocations: 0 / 495.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1458, allocations: 8 kB / 495.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1458, allocations: 0 / 495.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.1464, allocations: 155.8 kB / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.1499, allocations: 0.5222 MB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.1506, allocations: 102.6 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.1507, allocations: 3.984 kB / 495.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.1508, allocations: 38.56 kB / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 4.248e-06/0.1508, allocations: 0 / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001042/0.1519, allocations: 177.7 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.152, allocations: 55.34 kB / 496.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1522, allocations: 122 kB / 496.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.1523, allocations: 30.08 kB / 496.3 MB, free: 4.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1524, allocations: 186.1 kB / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.1525, allocations: 39.39 kB / 496.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.1526, allocations: 0 / 496.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1528, allocations: 318.8 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.1531, allocations: 43.97 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.1536, allocations: 88.77 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.154, allocations: 55.92 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.154, allocations: 0 / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009339/0.1549, allocations: 166 kB / 497.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.155, allocations: 4 kB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.155, allocations: 11.92 kB / 497.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.1551, allocations: 0 / 497.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.1556, allocations: 47.95 kB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006672/0.1563, allocations: 0.5939 MB / 497.8 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1566, allocations: 19.86 kB / 497.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.1567, allocations: 12 kB / 497.8 MB, free: 3.297 MB / 378.7 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 () * Number of clocked 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.0002247/0.1569, allocations: 117.8 kB / 497.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.1571, allocations: 7.906 kB / 498 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.1582, allocations: 181.9 kB / 498.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.1583, allocations: 4 kB / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1583, allocations: 0 / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.704e-05/0.1583, allocations: 7.984 kB / 498.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.1602, allocations: 221.5 kB / 498.4 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.1602, allocations: 0 / 498.4 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.1617, allocations: 43.97 kB / 498.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.1618, allocations: 0 / 498.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.1618, allocations: 0 / 498.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006753/0.1625, allocations: 0.5976 MB / 499 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1626, allocations: 0 / 499 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.1639, allocations: 311.4 kB / 499.3 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.1642, allocations: 96.98 kB / 499.4 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1642, allocations: 0 / 499.4 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.166, allocations: 15.98 kB / 499.4 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1662, allocations: 7.984 kB / 499.4 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1662, allocations: 4 kB / 499.4 MB, free: 1.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1664, allocations: 95.33 kB / 499.5 MB, free: 1.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1664, allocations: 3.938 kB / 499.5 MB, free: 1.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001004/0.1674, allocations: 75.83 kB / 499.6 MB, free: 1.41 MB / 378.7 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 () * Number of clocked 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.002451/0.1699, allocations: 0.9117 MB / 0.4888 GB, free: 480 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.1717, allocations: 136.1 kB / 0.4889 GB, free: 344 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.1717, allocations: 4.062 kB / 0.4889 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.1723, allocations: 71.95 kB / 0.489 GB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.1728, allocations: 11.98 kB / 0.489 GB, free: 256 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.352/0.5249, allocations: 1.591 MB / 0.4905 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.5251, allocations: 0.7128 MB / 0.4912 GB, free: 41.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5253, allocations: 36.88 kB / 0.4913 GB, free: 41.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5253, allocations: 1.094 kB / 0.4913 GB, free: 41.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.656/3.181, allocations: 2.929 MB / 0.4941 GB, free: 41.28 MB / 378.7 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