Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008492/0.0008492, allocations: 94.03 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008427/0.0008427, allocations: 183.1 kB / 17.88 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002375/0.1403, allocations: 1.481 MB / 473.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1423, allocations: 1.228 MB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.1424, allocations: 4 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1426, allocations: 39.77 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1427, allocations: 43.75 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1432, allocations: 195.3 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1433, allocations: 91.47 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.224e-05/0.1434, allocations: 20.95 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1435, allocations: 51.72 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.1436, allocations: 43.78 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1437, allocations: 4 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.1443, allocations: 479 kB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.1444, allocations: 15.92 kB / 475.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.1444, allocations: 41.64 kB / 475.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1448, allocations: 215.8 kB / 475.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1448, allocations: 4 kB / 475.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1448, allocations: 0 / 475.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1448, allocations: 0 / 475.6 MB, free: 9.66 MB / 350.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.0005294/0.1453, allocations: 426.9 kB / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1454, allocations: 12.03 kB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.1454, allocations: 46.55 kB / 476.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.1455, allocations: 7.906 kB / 476.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1456, allocations: 182.8 kB / 476.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1456, allocations: 8 kB / 476.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1457, allocations: 15.95 kB / 476.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.146, allocations: 145.5 kB / 476.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.146, allocations: 0 / 476.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.146, allocations: 4 kB / 476.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.146, allocations: 4 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.1463, allocations: 144.9 kB / 476.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.1472, allocations: 0.5183 MB / 477.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1475, allocations: 106.6 kB / 477.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.1476, allocations: 64.78 kB / 477.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1476, allocations: 0 / 477.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1477, allocations: 38.5 kB / 477.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.1477, allocations: 0 / 477.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004686/0.1482, allocations: 177.5 kB / 477.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1482, allocations: 51.41 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.1483, allocations: 117.9 kB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1483, allocations: 25.7 kB / 477.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.1484, allocations: 111.7 kB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1484, allocations: 47.39 kB / 477.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.1484, allocations: 4 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1486, allocations: 318.8 kB / 478.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1487, allocations: 43.97 kB / 478.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1488, allocations: 81.12 kB / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.149, allocations: 60.34 kB / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.149, allocations: 0 / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003398/0.1493, allocations: 173.3 kB / 478.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1493, allocations: 4 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1494, allocations: 12.16 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1494, allocations: 0 / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1496, allocations: 47.91 kB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003788/0.15, allocations: 0.586 MB / 479.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1501, allocations: 20.02 kB / 479.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1501, allocations: 12 kB / 479.2 MB, free: 5.805 MB / 350.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 () * 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.0001032/0.1502, allocations: 126.2 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1503, allocations: 7.906 kB / 479.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.1507, allocations: 190.2 kB / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1507, allocations: 0 / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1507, allocations: 0 / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1507, allocations: 0 / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.151, allocations: 221.5 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.151, allocations: 4 kB / 479.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.1512, allocations: 43.97 kB / 479.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1512, allocations: 0 / 479.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1512, allocations: 0 / 479.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002736/0.1515, allocations: 0.5899 MB / 480.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1515, allocations: 3.938 kB / 480.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.152, allocations: 311.4 kB / 480.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.152, allocations: 93.06 kB / 480.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.152, allocations: 4 kB / 480.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1522, allocations: 11.98 kB / 480.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1522, allocations: 11.98 kB / 480.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1522, allocations: 8 kB / 480.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.312e-05/0.1523, allocations: 95.2 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1523, allocations: 0 / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1526, allocations: 67.92 kB / 480.9 MB, free: 3.918 MB / 350.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 () * 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.0008984/0.1535, allocations: 0.9098 MB / 481.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.1539, allocations: 139.9 kB / 482 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.154, allocations: 0 / 482 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.1542, allocations: 80.2 kB / 482 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1544, allocations: 8 kB / 482.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1558, allocations: 0.8378 MB / 482.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.156, allocations: 0.7043 MB / 483.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.103e-05/0.1561, allocations: 20.95 kB / 483.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.1562, allocations: 35.42 kB / 483.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1562, allocations: 0 / 483.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.1706, allocations: 3.411 MB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.1709, allocations: 264.4 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.251, allocations: 5.594 kB / 487.3 MB, free: 13.58 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat