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.001414/0.001414, allocations: 95.64 kB / 16.98 MB, free: 5.938 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.001434/0.001434, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.435/1.435, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1929/0.1929, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002227/0.1205, allocations: 1.446 MB / 473 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1224, allocations: 1.182 MB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.1225, allocations: 4 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.1227, allocations: 35.81 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1229, allocations: 51.78 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.1234, allocations: 199.5 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1235, allocations: 71.81 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.694e-05/0.1236, allocations: 8.984 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1238, allocations: 47.77 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1239, allocations: 51.83 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1239, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006831/0.1246, allocations: 499.1 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.1246, allocations: 15.97 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.1247, allocations: 41.64 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.125, allocations: 211.9 kB / 475.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.125, allocations: 0 / 475.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1251, allocations: 4 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1251, allocations: 3.938 kB / 475.4 MB, free: 9.75 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.0005842/0.1257, allocations: 427 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1257, allocations: 8.031 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.1258, allocations: 46.48 kB / 475.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1258, allocations: 11.91 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.126, allocations: 174.9 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.126, allocations: 12 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.126, allocations: 11.95 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1264, allocations: 149.5 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1264, allocations: 4 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1264, allocations: 7.984 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1264, allocations: 4 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.1267, allocations: 144.9 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1278, allocations: 0.526 MB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.1281, allocations: 106.5 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1281, allocations: 4 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1282, allocations: 34.56 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 4.629e-06/0.1282, allocations: 4 kB / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005469/0.1287, allocations: 169.6 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1288, allocations: 51.41 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.1289, allocations: 122.1 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.1289, allocations: 37.64 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.129, allocations: 107.8 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1291, allocations: 39.39 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.1291, allocations: 4 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1293, allocations: 318.8 kB / 477.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1294, allocations: 43.97 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1296, allocations: 81.12 kB / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1297, allocations: 52.41 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1297, allocations: 0 / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003371/0.13, allocations: 177.3 kB / 478.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1301, allocations: 8 kB / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1301, allocations: 384 / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1301, allocations: 7.938 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1303, allocations: 47.91 kB / 478.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/0.1307, allocations: 0.59 MB / 478.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1308, allocations: 23.88 kB / 478.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1308, allocations: 7.984 kB / 478.9 MB, free: 5.949 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.0001006/0.1309, allocations: 122.3 kB / 479 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.131, allocations: 7.906 kB / 479 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.1314, allocations: 189.9 kB / 479.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1314, allocations: 4 kB / 479.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1314, allocations: 0 / 479.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1315, allocations: 0 / 479.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.1317, allocations: 217.5 kB / 479.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1317, allocations: 4 kB / 479.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.1319, allocations: 39.97 kB / 479.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.132, allocations: 4 kB / 479.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.132, allocations: 3.984 kB / 479.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003551/0.1323, allocations: 0.586 MB / 480.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1323, allocations: 4.031 kB / 480.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.1329, allocations: 317.8 kB / 480.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.133, allocations: 97.02 kB / 480.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.133, allocations: 4 kB / 480.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1331, allocations: 8 kB / 480.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.1332, allocations: 7.984 kB / 480.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1332, allocations: 12.05 kB / 480.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.1332, allocations: 87.28 kB / 480.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1332, allocations: 0 / 480.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.1336, allocations: 75.92 kB / 480.7 MB, free: 4.062 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.001044/0.1347, allocations: 0.9075 MB / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.1351, allocations: 148 kB / 481.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1351, allocations: 0 / 481.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1353, allocations: 71.95 kB / 481.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1355, allocations: 9.781 kB / 481.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1372, allocations: 1.587 MB / 483.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1376, allocations: 0.7121 MB / 484.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.269e-05/0.1377, allocations: 12.56 kB / 484.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.1378, allocations: 35.42 kB / 484.2 MB, free: 480 kB / 350.1 MB Notification: Performance of SimCode: time 2.765e-06/0.1378, allocations: 0 / 484.2 MB, free: 480 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.1534, allocations: 3.377 MB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.1536, allocations: 260.6 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2, allocations: 0 / 487.8 MB, free: 12.99 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