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.0007516/0.0007517, allocations: 93.81 kB / 17.35 MB, free: 6.344 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.000922/0.0009223, allocations: 170.1 kB / 18.25 MB, free: 5.504 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.292/1.292, allocations: 223.3 MB / 242.3 MB, free: 212 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.1995/0.1995, allocations: 44.26 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003203, allocations: 8 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002092/0.1212, allocations: 1.512 MB / 473.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1235, allocations: 1.337 MB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1237, allocations: 4 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1239, allocations: 31.81 kB / 475.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1242, allocations: 51.69 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.1248, allocations: 203.3 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.125, allocations: 103.5 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.1251, allocations: 8.984 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1252, allocations: 47.72 kB / 475.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.1253, allocations: 47.77 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1254, allocations: 4 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.1261, allocations: 0.499 MB / 476.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.1262, allocations: 15.86 kB / 476.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.1262, allocations: 61.45 kB / 476.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.1268, allocations: 351.2 kB / 476.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1268, allocations: 7.938 kB / 476.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1268, allocations: 0 / 476.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1268, allocations: 0 / 476.6 MB, free: 8.957 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.0005926/0.1274, allocations: 427.2 kB / 477.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1275, allocations: 8.031 kB / 477.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.1275, allocations: 46.75 kB / 477.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.1276, allocations: 12.83 kB / 477.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.1277, allocations: 184.1 kB / 477.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1278, allocations: 8.375 kB / 477.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.1278, allocations: 15.94 kB / 477.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.1281, allocations: 145.6 kB / 477.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1281, allocations: 0 / 477.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1282, allocations: 4 kB / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1282, allocations: 4 kB / 477.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.1285, allocations: 148.8 kB / 477.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.1294, allocations: 0.5182 MB / 478.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.1297, allocations: 106.7 kB / 478.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1299, allocations: 52.83 kB / 478.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1299, allocations: 7.938 kB / 478.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1299, allocations: 46.48 kB / 478.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.13, allocations: 0 / 478.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004975/0.1305, allocations: 177.5 kB / 478.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1305, allocations: 55.41 kB / 478.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.1306, allocations: 113.8 kB / 478.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1306, allocations: 25.7 kB / 478.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.1307, allocations: 107.8 kB / 478.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1307, allocations: 43.39 kB / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1308, allocations: 13.72 kB / 478.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1309, allocations: 326.8 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.131, allocations: 47.97 kB / 479.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1312, allocations: 88.98 kB / 479.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.1315, allocations: 141 kB / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1315, allocations: 0 / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003376/0.1318, allocations: 165.4 kB / 479.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1318, allocations: 10.66 kB / 479.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1319, allocations: 7.984 kB / 479.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1319, allocations: 0 / 479.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1321, allocations: 55.89 kB / 479.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003346/0.1324, allocations: 0.586 MB / 480.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1326, allocations: 16.03 kB / 480.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1326, allocations: 15.98 kB / 480.3 MB, free: 4.969 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.1327, allocations: 121.7 kB / 480.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.1327, allocations: 11.84 kB / 480.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.1332, allocations: 178.3 kB / 480.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1332, allocations: 3.984 kB / 480.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1332, allocations: 3.938 kB / 480.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1332, allocations: 0 / 480.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1335, allocations: 217.5 kB / 480.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1335, allocations: 0 / 480.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.1337, allocations: 47.91 kB / 480.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1337, allocations: 0 / 480.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1337, allocations: 4 kB / 480.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003154/0.1341, allocations: 0.586 MB / 481.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.1341, allocations: 8.094 kB / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.1346, allocations: 314.3 kB / 481.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.1346, allocations: 92.97 kB / 481.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1347, allocations: 4 kB / 481.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1348, allocations: 11.98 kB / 481.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1348, allocations: 7.984 kB / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1349, allocations: 8 kB / 481.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.1349, allocations: 95.2 kB / 482 MB, free: 3.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1349, allocations: 0 / 482 MB, free: 3.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.1353, allocations: 72 kB / 482.1 MB, free: 3.086 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009751/0.1363, allocations: 0.9235 MB / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.1367, allocations: 132.4 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1367, allocations: 0 / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1369, allocations: 80.2 kB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1372, allocations: 8 kB / 483.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.1394, allocations: 1.836 MB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1398, allocations: 0.7004 MB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.405e-05/0.1399, allocations: 20.95 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.1399, allocations: 43.42 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.14, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.1561, allocations: 3.427 MB / 489.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.1563, allocations: 293.4 kB / 489.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/1.927, allocations: 2.344 kB / 489.5 MB, free: 11.63 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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches