Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.9 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.003343/0.003343, allocations: 83.84 kB / 0.4913 GB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1425, allocations: 65.99 MB / 0.5557 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003289/0.1458, allocations: 1.824 MB / 0.5575 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.1481, allocations: 1.402 MB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.1482, allocations: 3.938 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1485, allocations: 51.7 kB / 0.5589 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1486, allocations: 51.61 kB / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.1493, allocations: 255 kB / 0.5592 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1494, allocations: 107.4 kB / 0.5593 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1495, allocations: 9.125 kB / 0.5593 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.1497, allocations: 47.78 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.1498, allocations: 55.7 kB / 0.5594 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1498, allocations: 4 kB / 0.5594 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007814/0.1506, allocations: 0.503 MB / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.1506, allocations: 23.84 kB / 0.5599 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.1507, allocations: 39.73 kB / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.1512, allocations: 362.8 kB / 0.5603 GB, free: 1.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1512, allocations: 0 / 0.5603 GB, free: 1.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1512, allocations: 0 / 0.5603 GB, free: 1.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1513, allocations: 0 / 0.5603 GB, free: 1.633 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.0006871/0.1519, allocations: 454.5 kB / 0.5608 GB, free: 1.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.152, allocations: 12.03 kB / 0.5608 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.152, allocations: 46.73 kB / 0.5608 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1521, allocations: 8.891 kB / 0.5608 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1523, allocations: 176.2 kB / 0.561 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1523, allocations: 12.38 kB / 0.561 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.1523, allocations: 15.94 kB / 0.561 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.1527, allocations: 141.6 kB / 0.5611 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1527, allocations: 0 / 0.5611 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1527, allocations: 4 kB / 0.5612 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1527, allocations: 7.938 kB / 0.5612 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.153, allocations: 131.9 kB / 0.5613 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.154, allocations: 0.5261 MB / 0.5618 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1543, allocations: 86.66 kB / 0.5619 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1544, allocations: 52.83 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1544, allocations: 0 / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1545, allocations: 34.5 kB / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1545, allocations: 0 / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005065/0.155, allocations: 165.5 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.155, allocations: 51.41 kB / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1551, allocations: 121.8 kB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1551, allocations: 29.7 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.1552, allocations: 123.6 kB / 0.5624 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1552, allocations: 31.7 kB / 0.5625 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.1553, allocations: 33.7 kB / 0.5625 GB, free: 15.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1555, allocations: 322.8 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1556, allocations: 43.91 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1557, allocations: 77.12 kB / 0.5629 GB, free: 14.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.156, allocations: 137 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.156, allocations: 0 / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003443/0.1563, allocations: 153.5 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1564, allocations: 4 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1564, allocations: 4.156 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.1564, allocations: 7.984 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1566, allocations: 47.91 kB / 0.5633 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004076/0.157, allocations: 0.5898 MB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1572, allocations: 11.97 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1572, allocations: 11.98 kB / 0.5639 GB, free: 13.7 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.0001251/0.1573, allocations: 125.9 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1573, allocations: 3.953 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/0.1578, allocations: 178.2 kB / 0.5641 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1578, allocations: 4 kB / 0.5642 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1578, allocations: 15.86 kB / 0.5642 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1578, allocations: 0 / 0.5642 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1581, allocations: 213.5 kB / 0.5644 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1581, allocations: 4 kB / 0.5644 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.1583, allocations: 43.97 kB / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1583, allocations: 0 / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1583, allocations: 0 / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003757/0.1587, allocations: 0.5899 MB / 0.565 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1587, allocations: 0 / 0.565 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.1592, allocations: 303.4 kB / 0.5653 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.1593, allocations: 96.95 kB / 0.5654 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1593, allocations: 8 kB / 0.5654 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1594, allocations: 12.14 kB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.1595, allocations: 7.984 kB / 0.5654 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1595, allocations: 8 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.456e-05/0.1596, allocations: 91.27 kB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1596, allocations: 0 / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.16, allocations: 71.69 kB / 0.5656 GB, free: 11.82 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.001089/0.1611, allocations: 0.9037 MB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.1615, allocations: 119.9 kB / 0.5666 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1615, allocations: 0 / 0.5666 GB, free: 10.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.1617, allocations: 67.89 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.162, allocations: 13.08 kB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.1644, allocations: 1.735 MB / 0.5683 GB, free: 8.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1648, allocations: 0.7078 MB / 0.569 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.1649, allocations: 16.55 kB / 0.569 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.165, allocations: 39.41 kB / 0.5691 GB, free: 8.066 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.165, allocations: 3.938 kB / 0.5691 GB, free: 8.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.1952, allocations: 3.923 MB / 0.5729 GB, free: 4.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.87, allocations: 11.83 kB / 0.5729 GB, free: 4.34 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.966180842835456]