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.001035/0.001041, allocations: 108.8 kB / 16.41 MB, free: 6.488 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.001003/0.001003, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2161/0.2161, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001529/0.00153, allocations: 63.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.113, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003134/0.1162, allocations: 1.803 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1184, allocations: 1.376 MB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1185, allocations: 4 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1188, allocations: 47.69 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.119, allocations: 51.62 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.1197, allocations: 243.1 kB / 0.4909 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1199, allocations: 107.4 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.1199, allocations: 13.11 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1201, allocations: 47.78 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.1202, allocations: 47.77 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1203, allocations: 7.938 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.1211, allocations: 0.4952 MB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.1211, allocations: 15.86 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.1212, allocations: 43.73 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.1218, allocations: 355 kB / 0.492 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1218, allocations: 0 / 0.492 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1218, allocations: 4 kB / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1218, allocations: 0 / 0.492 GB, free: 7.617 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.0006929/0.1225, allocations: 443 kB / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.1226, allocations: 12.03 kB / 0.4924 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/0.1227, allocations: 42.73 kB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1227, allocations: 12.84 kB / 0.4924 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1229, allocations: 176.2 kB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1229, allocations: 8.375 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.1229, allocations: 23.88 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.1232, allocations: 138.1 kB / 0.4928 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1233, allocations: 3.984 kB / 0.4928 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1233, allocations: 8 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1233, allocations: 0 / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.1236, allocations: 139.8 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1247, allocations: 0.5143 MB / 0.4934 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.125, allocations: 102.6 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1252, allocations: 48.83 kB / 0.4936 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1252, allocations: 4 kB / 0.4936 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1253, allocations: 34.56 kB / 0.4936 GB, free: 5.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.637e-06/0.1253, allocations: 0 / 0.4936 GB, free: 5.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004833/0.1257, allocations: 161.5 kB / 0.4938 GB, free: 5.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1258, allocations: 55.41 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.1259, allocations: 113.8 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1259, allocations: 33.7 kB / 0.494 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.126, allocations: 111.7 kB / 0.4941 GB, free: 5.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.126, allocations: 35.45 kB / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1261, allocations: 33.7 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1263, allocations: 326.8 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1264, allocations: 35.97 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1265, allocations: 85.06 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1268, allocations: 133 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1268, allocations: 0 / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003437/0.1272, allocations: 157.8 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1272, allocations: 8 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1272, allocations: 0 / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1272, allocations: 4.156 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.1275, allocations: 47.91 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003794/0.1279, allocations: 0.5938 MB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.128, allocations: 11.84 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.128, allocations: 12 kB / 0.4955 GB, free: 3.691 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 9.028e-05/0.1281, allocations: 134 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1281, allocations: 7.906 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.1286, allocations: 161.9 kB / 0.4958 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1286, allocations: 0 / 0.4958 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1286, allocations: 11.94 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1286, allocations: 3.984 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1289, allocations: 217.5 kB / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1289, allocations: 3.938 kB / 0.496 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.1291, allocations: 43.92 kB / 0.496 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1291, allocations: 3.984 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1291, allocations: 4 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003079/0.1294, allocations: 0.5899 MB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1294, allocations: 0 / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.1299, allocations: 291.3 kB / 0.4969 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.13, allocations: 100.9 kB / 0.497 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1301, allocations: 4 kB / 0.497 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1302, allocations: 16.08 kB / 0.497 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1303, allocations: 7.984 kB / 0.497 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1303, allocations: 8 kB / 0.497 GB, free: 1.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.1304, allocations: 91.27 kB / 0.4971 GB, free: 1.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1304, allocations: 0 / 0.4971 GB, free: 1.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.1308, allocations: 67.94 kB / 0.4972 GB, free: 1.816 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.001136/0.1319, allocations: 0.8997 MB / 0.4981 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.1324, allocations: 127.9 kB / 0.4982 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1324, allocations: 0 / 0.4982 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.1326, allocations: 71.89 kB / 0.4983 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.133, allocations: 12.31 kB / 0.4983 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.1357, allocations: 1.717 MB / 0.4999 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1361, allocations: 0.7118 MB / 0.5006 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.178e-05/0.1362, allocations: 24.94 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.1363, allocations: 35.42 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1363, allocations: 0 / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.1605, allocations: 3.838 MB / 0.5044 GB, free: 10.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.38, allocations: 4.438 kB / 0.5045 GB, free: 10.22 MB / 398.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","/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