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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.92 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.08 kB / 491.8 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1192, allocations: 64.26 MB / 0.543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003194/0.1224, allocations: 1.809 MB / 0.5448 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1247, allocations: 1.348 MB / 0.5461 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.1247, allocations: 4 kB / 0.5461 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.1249, allocations: 43.75 kB / 0.5462 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1251, allocations: 59.61 kB / 0.5462 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.1257, allocations: 235.1 kB / 0.5464 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1258, allocations: 107.4 kB / 0.5465 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.1259, allocations: 5.125 kB / 0.5465 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.126, allocations: 55.7 kB / 0.5466 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.1261, allocations: 47.78 kB / 0.5466 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1261, allocations: 4 kB / 0.5466 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.1268, allocations: 0.5029 MB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.1268, allocations: 15.86 kB / 0.5471 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.1269, allocations: 43.73 kB / 0.5472 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.1274, allocations: 355 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1274, allocations: 4 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1274, allocations: 0 / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1274, allocations: 0 / 0.5475 GB, free: 15.48 MB / 414.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.0005842/0.128, allocations: 442.6 kB / 0.548 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.128, allocations: 8.031 kB / 0.548 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.1281, allocations: 42.73 kB / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1281, allocations: 16.84 kB / 0.548 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1283, allocations: 184.2 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1283, allocations: 4.375 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1283, allocations: 15.94 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1286, allocations: 141.6 kB / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1286, allocations: 0 / 0.5483 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1286, allocations: 4 kB / 0.5484 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1286, allocations: 4 kB / 0.5484 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.1289, allocations: 135.8 kB / 0.5485 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008896/0.1298, allocations: 0.5183 MB / 0.549 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1301, allocations: 94.66 kB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1302, allocations: 48.75 kB / 0.5491 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1303, allocations: 8 kB / 0.5491 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1303, allocations: 34.56 kB / 0.5492 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1303, allocations: 3.938 kB / 0.5492 GB, free: 13.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000464/0.1307, allocations: 157.5 kB / 0.5493 GB, free: 13.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1308, allocations: 51.41 kB / 0.5494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.1309, allocations: 125.7 kB / 0.5495 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1309, allocations: 25.7 kB / 0.5495 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.131, allocations: 111.9 kB / 0.5496 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.131, allocations: 51.64 kB / 0.5497 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1311, allocations: 25.72 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1312, allocations: 326.8 kB / 0.55 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1313, allocations: 35.97 kB / 0.55 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1315, allocations: 92.98 kB / 0.5501 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1318, allocations: 117 kB / 0.5502 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1318, allocations: 8 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003439/0.1321, allocations: 157.5 kB / 0.5504 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1321, allocations: 8 kB / 0.5504 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1321, allocations: 0 / 0.5504 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1321, allocations: 7.938 kB / 0.5504 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.1324, allocations: 47.91 kB / 0.5505 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003838/0.1327, allocations: 0.5978 MB / 0.551 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1328, allocations: 19.97 kB / 0.5511 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1329, allocations: 4 kB / 0.5511 GB, free: 11.54 MB / 414.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.849e-05/0.133, allocations: 117.8 kB / 0.5512 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.133, allocations: 7.953 kB / 0.5512 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.1334, allocations: 178.3 kB / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1334, allocations: 0 / 0.5514 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1334, allocations: 3.938 kB / 0.5514 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1334, allocations: 0 / 0.5514 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1337, allocations: 221.6 kB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1337, allocations: 0 / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.1339, allocations: 43.91 kB / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1339, allocations: 0 / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1339, allocations: 8 kB / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003686/0.1343, allocations: 0.5821 MB / 0.5522 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1343, allocations: 0 / 0.5522 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.1348, allocations: 299 kB / 0.5525 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.1348, allocations: 105 kB / 0.5526 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1349, allocations: 0 / 0.5526 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.135, allocations: 7.984 kB / 0.5526 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.135, allocations: 11.98 kB / 0.5526 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.135, allocations: 8.062 kB / 0.5526 GB, free: 9.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.625e-05/0.1351, allocations: 95.2 kB / 0.5527 GB, free: 9.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1351, allocations: 0 / 0.5527 GB, free: 9.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.1354, allocations: 75.64 kB / 0.5528 GB, free: 9.68 MB / 414.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.0009754/0.1364, allocations: 0.8934 MB / 0.5536 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003906/0.1368, allocations: 131.9 kB / 0.5538 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1368, allocations: 0 / 0.5538 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.137, allocations: 67.89 kB / 0.5538 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1373, allocations: 8.766 kB / 0.5538 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1395, allocations: 1.729 MB / 0.5555 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1399, allocations: 0.7002 MB / 0.5562 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.608e-05/0.1399, allocations: 20.95 kB / 0.5562 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.14, allocations: 39.42 kB / 0.5563 GB, free: 5.938 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.14, allocations: 0 / 0.5563 GB, free: 5.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.1697, allocations: 3.824 MB / 0.56 GB, free: 2.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.65, allocations: 3.859 kB / 0.56 GB, free: 2.34 MB / 414.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.76699071098119]