Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_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_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.004675/0.004675, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001053/0.001053, allocations: 195.5 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 222.6 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3193/0.3193, allocations: 43.51 MB / 313.5 MB, free: 8.504 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.89 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1082, allocations: 57.77 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003119/0.1113, allocations: 1.867 MB / 441.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1135, allocations: 1.407 MB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.1137, allocations: 0 / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1139, allocations: 35.83 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1142, allocations: 47.69 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.1148, allocations: 211.3 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1149, allocations: 99.47 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.115, allocations: 9.109 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1151, allocations: 55.7 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.1152, allocations: 39.78 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1152, allocations: 7.938 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006508/0.1159, allocations: 0.4912 MB / 444.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.1159, allocations: 19.92 kB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.116, allocations: 43.73 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.1165, allocations: 351.2 kB / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1165, allocations: 0 / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1165, allocations: 0 / 444.6 MB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1165, allocations: 0 / 444.6 MB, free: 10.03 MB / 382.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.0005336/0.117, allocations: 443.1 kB / 445 MB, free: 9.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1171, allocations: 12.03 kB / 445 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1171, allocations: 46.73 kB / 445.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.1172, allocations: 12.84 kB / 445.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1173, allocations: 180.2 kB / 445.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1173, allocations: 8.375 kB / 445.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1174, allocations: 15.94 kB / 445.3 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1177, allocations: 146.4 kB / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1177, allocations: 0 / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1177, allocations: 8 kB / 445.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1177, allocations: 0 / 445.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1181, allocations: 139.9 kB / 445.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000916/0.119, allocations: 0.5104 MB / 446.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.1193, allocations: 106.5 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1194, allocations: 52.81 kB / 446.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1194, allocations: 7.938 kB / 446.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.1195, allocations: 30.56 kB / 446.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.1195, allocations: 4 kB / 446.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004937/0.12, allocations: 157.9 kB / 446.5 MB, free: 7.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.12, allocations: 51.41 kB / 446.5 MB, free: 7.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.1201, allocations: 117.8 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1202, allocations: 25.7 kB / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.1202, allocations: 111.8 kB / 446.8 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.1203, allocations: 47.38 kB / 446.8 MB, free: 7.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.1203, allocations: 37.7 kB / 446.8 MB, free: 7.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1205, allocations: 322.7 kB / 447.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1206, allocations: 39.95 kB / 447.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1208, allocations: 77.12 kB / 447.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.121, allocations: 133 kB / 447.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1211, allocations: 0 / 447.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003428/0.1214, allocations: 161.4 kB / 447.6 MB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1214, allocations: 4 kB / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1214, allocations: 0 / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1215, allocations: 4 kB / 447.6 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.1217, allocations: 43.97 kB / 447.6 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003938/0.1221, allocations: 0.5939 MB / 448.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1222, allocations: 27.8 kB / 448.2 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1222, allocations: 7.984 kB / 448.2 MB, free: 6.086 MB / 382.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.0001102/0.1224, allocations: 117.8 kB / 448.3 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1224, allocations: 11.84 kB / 448.4 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.1228, allocations: 170.4 kB / 448.5 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1228, allocations: 0 / 448.5 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1229, allocations: 3.938 kB / 448.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1229, allocations: 0 / 448.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1231, allocations: 221.5 kB / 448.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1231, allocations: 4 kB / 448.7 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.1233, allocations: 39.97 kB / 448.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1234, allocations: 3.938 kB / 448.8 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1234, allocations: 8 kB / 448.8 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002645/0.1237, allocations: 0.5899 MB / 449.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1237, allocations: 0 / 449.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.1241, allocations: 291.5 kB / 449.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.1242, allocations: 100.9 kB / 449.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1242, allocations: 3.938 kB / 449.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1243, allocations: 8 kB / 449.8 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1244, allocations: 7.984 kB / 449.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1244, allocations: 12.05 kB / 449.8 MB, free: 4.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.1245, allocations: 91.22 kB / 449.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1245, allocations: 0 / 449.9 MB, free: 4.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.1249, allocations: 75.86 kB / 450 MB, free: 4.23 MB / 382.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.0009779/0.1259, allocations: 0.8996 MB / 450.9 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.1262, allocations: 127.9 kB / 451 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1263, allocations: 0 / 451 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1265, allocations: 79.83 kB / 451.1 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1268, allocations: 15.66 kB / 451.1 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.1289, allocations: 1.762 MB / 452.8 MB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1292, allocations: 0.7043 MB / 453.5 MB, free: 500 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.1293, allocations: 24.81 kB / 453.6 MB, free: 476 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.1294, allocations: 39.42 kB / 453.6 MB, free: 436 kB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1294, allocations: 0 / 453.6 MB, free: 436 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1686/0.298, allocations: 3.488 MB / 457.1 MB, free: 48.03 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.2983, allocations: 291.2 kB / 457.4 MB, free: 47.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.053, allocations: 5.938 kB / 457.4 MB, free: 47.65 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches