Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 71.88 kB / 0.4916 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1331, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.004184/0.1373, allocations: 1.824 MB / 0.5579 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1399, allocations: 1.402 MB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.1401, allocations: 0 / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1404, allocations: 47.77 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1407, allocations: 51.61 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.1416, allocations: 251 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.1418, allocations: 111.4 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.629e-05/0.1419, allocations: 9.125 kB / 0.5597 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.1421, allocations: 55.72 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1422, allocations: 47.77 kB / 0.5598 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1422, allocations: 4 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008678/0.1431, allocations: 0.5068 MB / 0.5603 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.1431, allocations: 19.91 kB / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.1432, allocations: 43.67 kB / 0.5603 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007023/0.1439, allocations: 350.9 kB / 0.5607 GB, free: 1.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1439, allocations: 11.94 kB / 0.5607 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1439, allocations: 3.938 kB / 0.5607 GB, free: 1.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1439, allocations: 0 / 0.5607 GB, free: 1.09 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.0007533/0.1447, allocations: 458.4 kB / 0.5611 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1447, allocations: 8.031 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.999e-05/0.1447, allocations: 4.188 kB / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.1448, allocations: 46.73 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.1448, allocations: 8.891 kB / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.145, allocations: 180.2 kB / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.145, allocations: 12.12 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.145, allocations: 12 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1454, allocations: 145.6 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1454, allocations: 0 / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.1454, allocations: 4 kB / 0.5615 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1454, allocations: 4 kB / 0.5615 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.1458, allocations: 132 kB / 0.5617 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.1467, allocations: 0.5261 MB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.147, allocations: 90.59 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.1472, allocations: 56.83 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1472, allocations: 0 / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1472, allocations: 30.56 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1472, allocations: 0 / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005268/0.1478, allocations: 169.4 kB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1478, allocations: 59.41 kB / 0.5626 GB, free: 14.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.1479, allocations: 113.8 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1479, allocations: 29.7 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.148, allocations: 115.7 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.1481, allocations: 35.69 kB / 0.5628 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.1481, allocations: 33.7 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1483, allocations: 322.8 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1484, allocations: 39.97 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1486, allocations: 81.06 kB / 0.5633 GB, free: 14.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1489, allocations: 137.3 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1489, allocations: 0 / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003664/0.1492, allocations: 157.9 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1493, allocations: 8.156 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1493, allocations: 7.938 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1493, allocations: 0 / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1495, allocations: 43.97 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004167/0.1499, allocations: 0.5976 MB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.15, allocations: 8.031 kB / 0.5642 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1501, allocations: 12.08 kB / 0.5642 GB, free: 13.14 MB / 430.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.0001104/0.1502, allocations: 128 kB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1502, allocations: 7.953 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.1507, allocations: 172.9 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1507, allocations: 11.94 kB / 0.5645 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1507, allocations: 0 / 0.5645 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1507, allocations: 7.922 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.151, allocations: 213.5 kB / 0.5648 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.151, allocations: 0 / 0.5648 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.1512, allocations: 39.98 kB / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1512, allocations: 3.984 kB / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1512, allocations: 0 / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003832/0.1516, allocations: 0.5937 MB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1516, allocations: 0 / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.1521, allocations: 301.4 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.1522, allocations: 93.02 kB / 0.5658 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1522, allocations: 12.16 kB / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1523, allocations: 7.984 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.1524, allocations: 11.92 kB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1524, allocations: 8 kB / 0.5658 GB, free: 11.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.1525, allocations: 91.27 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1525, allocations: 0 / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.1529, allocations: 71.69 kB / 0.5659 GB, free: 11.27 MB / 430.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.001131/0.154, allocations: 0.9034 MB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.1544, allocations: 123.9 kB / 0.5669 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1544, allocations: 0 / 0.5669 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.1546, allocations: 68.2 kB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1549, allocations: 16 kB / 0.567 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.1573, allocations: 1.731 MB / 0.5687 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1576, allocations: 0.7156 MB / 0.5694 GB, free: 7.559 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.1577, allocations: 16.55 kB / 0.5694 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.1578, allocations: 35.42 kB / 0.5695 GB, free: 7.508 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1578, allocations: 0 / 0.5695 GB, free: 7.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.1808, allocations: 3.95 MB / 0.5733 GB, free: 3.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.93, allocations: 11 kB / 0.5733 GB, free: 3.809 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.224374248995446]