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.001377/0.001377, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001611/0.001611, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2013/0.2013, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.98 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 60.83 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003465/0.1106, allocations: 1.79 MB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1127, allocations: 1.328 MB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.1128, allocations: 8 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.1131, allocations: 43.75 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1133, allocations: 55.61 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.1139, allocations: 239.1 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.114, allocations: 99.41 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.504e-05/0.1141, allocations: 20.95 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1143, allocations: 47.72 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.1144, allocations: 43.84 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1144, allocations: 4 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007485/0.1152, allocations: 0.5029 MB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.1152, allocations: 23.86 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.1153, allocations: 35.8 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.1158, allocations: 355.2 kB / 474 MB, free: 9.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1158, allocations: 4 kB / 474 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1158, allocations: 0 / 474 MB, free: 9.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1158, allocations: 0 / 474 MB, free: 9.621 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.0006082/0.1164, allocations: 435.2 kB / 474.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1165, allocations: 8.031 kB / 474.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.1165, allocations: 42.73 kB / 474.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.1166, allocations: 20.75 kB / 474.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1167, allocations: 180.2 kB / 474.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1167, allocations: 4.375 kB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1167, allocations: 15.94 kB / 474.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.117, allocations: 141.6 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1171, allocations: 0 / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1171, allocations: 4 kB / 474.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1171, allocations: 4 kB / 474.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1174, allocations: 143.8 kB / 474.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.1183, allocations: 0.5221 MB / 475.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.1186, allocations: 102.7 kB / 475.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1187, allocations: 48.83 kB / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1187, allocations: 3.938 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1188, allocations: 34.56 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.1188, allocations: 4 kB / 475.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004709/0.1193, allocations: 157.5 kB / 475.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1193, allocations: 55.41 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.1194, allocations: 113.8 kB / 476 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1194, allocations: 29.69 kB / 476 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.1195, allocations: 115.7 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1195, allocations: 39.41 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1196, allocations: 33.7 kB / 476.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1197, allocations: 326.8 kB / 476.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.1199, allocations: 39.91 kB / 476.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.12, allocations: 81.06 kB / 476.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1203, allocations: 129 kB / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1203, allocations: 0 / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003292/0.1207, allocations: 153.4 kB / 476.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1207, allocations: 8 kB / 476.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1207, allocations: 0 / 476.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1207, allocations: 7.984 kB / 476.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.121, allocations: 47.91 kB / 477 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003241/0.1213, allocations: 0.5901 MB / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1214, allocations: 11.91 kB / 477.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1214, allocations: 15.92 kB / 477.6 MB, free: 5.691 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.0001054/0.1215, allocations: 125.7 kB / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1216, allocations: 8 kB / 477.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.122, allocations: 181 kB / 477.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.122, allocations: 0 / 477.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1221, allocations: 7.922 kB / 477.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1221, allocations: 0 / 477.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.1223, allocations: 209.6 kB / 478.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1223, allocations: 4 kB / 478.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.1225, allocations: 43.91 kB / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1225, allocations: 0 / 478.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1226, allocations: 8 kB / 478.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002809/0.1229, allocations: 0.5821 MB / 478.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1229, allocations: 0 / 478.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.1234, allocations: 299.4 kB / 479 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.1234, allocations: 101 kB / 479.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1235, allocations: 0 / 479.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1236, allocations: 11.98 kB / 479.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1236, allocations: 7.984 kB / 479.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1237, allocations: 8.062 kB / 479.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.1237, allocations: 95.2 kB / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1237, allocations: 0 / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003915/0.1241, allocations: 75.84 kB / 479.3 MB, free: 3.828 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.001038/0.1252, allocations: 0.8918 MB / 480.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.1256, allocations: 132.5 kB / 480.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1257, allocations: 0 / 480.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.1259, allocations: 75.02 kB / 480.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1263, allocations: 15.94 kB / 480.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.1285, allocations: 1.72 MB / 482.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1288, allocations: 0.7002 MB / 482.9 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.862e-05/0.1289, allocations: 16.97 kB / 482.9 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.129, allocations: 39.41 kB / 482.9 MB, free: 92 kB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.129, allocations: 0 / 482.9 MB, free: 92 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1511, allocations: 3.72 MB / 486.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.15, allocations: 17.05 kB / 486.6 MB, free: 12.56 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/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