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.001093/0.001093, allocations: 107 kB / 17.33 MB, free: 6.023 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.001158/0.001158, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.313/1.313, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2273/0.2273, allocations: 44.18 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001408, allocations: 65.92 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003607/0.1061, allocations: 1.855 MB / 470.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.1085, allocations: 1.332 MB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1087, allocations: 0 / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.109, allocations: 39.83 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1092, allocations: 43.69 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.1098, allocations: 215.3 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.11, allocations: 107.4 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.11, allocations: 8.984 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1102, allocations: 47.8 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.1103, allocations: 55.69 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.1103, allocations: 4 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.1109, allocations: 0.4951 MB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.1109, allocations: 19.91 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.111, allocations: 47.67 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.1115, allocations: 351.2 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1115, allocations: 0 / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1115, allocations: 0 / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1115, allocations: 0 / 473.4 MB, free: 9.996 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.0005823/0.1121, allocations: 439.1 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1122, allocations: 8.031 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1122, allocations: 46.75 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.1123, allocations: 16.75 kB / 473.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1124, allocations: 184.2 kB / 474.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1124, allocations: 4.375 kB / 474.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.1125, allocations: 15.94 kB / 474.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.1128, allocations: 138.1 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1128, allocations: 0 / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1128, allocations: 8 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1128, allocations: 0 / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.1131, allocations: 137.2 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.1139, allocations: 0.5182 MB / 474.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.1142, allocations: 106.6 kB / 475 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.1143, allocations: 48.83 kB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1144, allocations: 7.984 kB / 475.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1144, allocations: 42.48 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1144, allocations: 0 / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004352/0.1148, allocations: 161.5 kB / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.1149, allocations: 51.41 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.115, allocations: 117.8 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.115, allocations: 25.7 kB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.115, allocations: 111.7 kB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1151, allocations: 51.39 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.1151, allocations: 29.7 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.1152, allocations: 322.8 kB / 476 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1154, allocations: 35.97 kB / 476 MB, free: 7.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1155, allocations: 89.05 kB / 476.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.1157, allocations: 121 kB / 476.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1158, allocations: 8 kB / 476.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003214/0.1161, allocations: 157.4 kB / 476.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1161, allocations: 4 kB / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1161, allocations: 0 / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1161, allocations: 4 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1163, allocations: 43.97 kB / 476.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003659/0.1167, allocations: 0.5939 MB / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.1169, allocations: 19.89 kB / 477.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1169, allocations: 4 kB / 477.1 MB, free: 6.066 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.000113/0.117, allocations: 125.7 kB / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.117, allocations: 11.94 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.1175, allocations: 174.3 kB / 477.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1175, allocations: 0 / 477.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1175, allocations: 3.938 kB / 477.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1175, allocations: 4 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1178, allocations: 213.6 kB / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1178, allocations: 0 / 477.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.118, allocations: 35.97 kB / 477.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.118, allocations: 3.938 kB / 477.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.118, allocations: 8 kB / 477.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002646/0.1183, allocations: 0.5821 MB / 478.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1183, allocations: 4.094 kB / 478.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.1188, allocations: 291.3 kB / 478.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.1189, allocations: 101 kB / 478.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1189, allocations: 7.922 kB / 478.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.119, allocations: 8 kB / 478.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.119, allocations: 12.05 kB / 478.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1191, allocations: 4 kB / 478.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.1191, allocations: 91.27 kB / 478.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1191, allocations: 0 / 478.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.1195, allocations: 79.83 kB / 478.8 MB, free: 4.207 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.0008962/0.1204, allocations: 0.9019 MB / 479.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.1207, allocations: 127.8 kB / 479.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1208, allocations: 0 / 479.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.121, allocations: 75.89 kB / 479.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1213, allocations: 20.69 kB / 479.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.1232, allocations: 1.772 MB / 481.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1235, allocations: 0.7041 MB / 482.4 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.043e-05/0.1236, allocations: 16.55 kB / 482.4 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.1236, allocations: 35.42 kB / 482.4 MB, free: 420 kB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1236, allocations: 0 / 482.4 MB, free: 420 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.1398, allocations: 3.584 MB / 486 MB, free: 13.07 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.14, allocations: 288.1 kB / 486.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.02, allocations: 3.938 kB / 486.3 MB, free: 12.69 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