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.001128/0.001128, allocations: 103.8 kB / 16.27 MB, free: 5.977 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.001793/0.001793, allocations: 188.6 kB / 17.2 MB, free: 5.609 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.337/1.337, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2141/0.2141, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001555/0.001555, allocations: 66.69 kB / 382.9 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1094, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00257/0.112, allocations: 1.788 MB / 442.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1136, allocations: 1.38 MB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.1137, allocations: 4 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.1139, allocations: 43.7 kB / 443.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1141, allocations: 51.61 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.1145, allocations: 239.1 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1147, allocations: 103.5 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.1147, allocations: 13.06 kB / 444.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1148, allocations: 51.66 kB / 444.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.1149, allocations: 47.77 kB / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1149, allocations: 4 kB / 444.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005426/0.1155, allocations: 0.4951 MB / 444.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.1155, allocations: 19.92 kB / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.1156, allocations: 47.66 kB / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.116, allocations: 355 kB / 445.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.116, allocations: 0 / 445.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.116, allocations: 0 / 445.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.116, allocations: 0 / 445.3 MB, free: 2.133 MB / 318.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.000515/0.1165, allocations: 435.1 kB / 445.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1166, allocations: 8.031 kB / 445.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.1166, allocations: 46.73 kB / 445.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.1167, allocations: 16.84 kB / 445.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1168, allocations: 176.2 kB / 445.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1168, allocations: 12.36 kB / 445.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.1169, allocations: 15.94 kB / 446 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1172, allocations: 137.5 kB / 446.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1172, allocations: 0 / 446.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1172, allocations: 8 kB / 446.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1172, allocations: 4 kB / 446.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.1175, allocations: 139.9 kB / 446.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/0.1185, allocations: 0.5221 MB / 446.8 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1187, allocations: 102.6 kB / 446.9 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.1189, allocations: 48.83 kB / 446.9 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.1189, allocations: 0 / 446.9 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.119, allocations: 34.56 kB / 446.9 MB, free: 268 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.119, allocations: 0 / 446.9 MB, free: 268 kB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005309/0.1195, allocations: 169.5 kB / 447.1 MB, free: 92 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1195, allocations: 51.41 kB / 447.2 MB, free: 28 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1197, allocations: 121.7 kB / 447.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1197, allocations: 29.7 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.1198, allocations: 111.7 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.1199, allocations: 43.44 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.12, allocations: 29.72 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.1202, allocations: 326.8 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1204, allocations: 35.97 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.1206, allocations: 84.62 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1209, allocations: 133.4 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1209, allocations: 4 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003735/0.1213, allocations: 157.4 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.1214, allocations: 11.98 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1214, allocations: 0 / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1214, allocations: 4 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1216, allocations: 39.97 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004529/0.1221, allocations: 0.5978 MB / 448.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1222, allocations: 19.83 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1222, allocations: 8 kB / 448.9 MB, free: 14.2 MB / 334.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.0001223/0.1224, allocations: 117.8 kB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1224, allocations: 7.906 kB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.1229, allocations: 174.3 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.1229, allocations: 0 / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1229, allocations: 3.938 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1229, allocations: 0 / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1232, allocations: 217.5 kB / 449.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1232, allocations: 8 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.1234, allocations: 39.97 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1234, allocations: 0 / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1234, allocations: 7.938 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003465/0.1238, allocations: 0.586 MB / 450 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1238, allocations: 0 / 450 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.1243, allocations: 291.5 kB / 450.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.1244, allocations: 96.97 kB / 450.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1244, allocations: 4 kB / 450.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.1245, allocations: 15.92 kB / 450.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.1246, allocations: 15.91 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1246, allocations: 12.06 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.1247, allocations: 91.27 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1247, allocations: 0 / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.1251, allocations: 71.88 kB / 450.6 MB, free: 12.33 MB / 334.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.001111/0.1262, allocations: 0.9029 MB / 451.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.1267, allocations: 131.9 kB / 451.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1267, allocations: 0 / 451.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.1269, allocations: 75.89 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1273, allocations: 10.03 kB / 451.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1296, allocations: 1.72 MB / 453.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1299, allocations: 0.7002 MB / 454.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.13, allocations: 16.55 kB / 454.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.13, allocations: 39.61 kB / 454.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.13, allocations: 0 / 454.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.153, allocations: 3.72 MB / 457.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.43, allocations: 20.03 kB / 458 MB, free: 4.902 MB / 334.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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