Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.001372/0.001372, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001398/0.001398, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.441/1.441, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2355/0.2355, allocations: 46.9 MB / 357.4 MB, free: 10.5 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_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 79.86 kB / 0.4913 GB, free: 8.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1274, allocations: 65.99 MB / 0.5557 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003222/0.1306, allocations: 1.848 MB / 0.5575 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.133, allocations: 1.367 MB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.1331, allocations: 4 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1333, allocations: 59.66 kB / 0.5589 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1336, allocations: 95.56 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.1342, allocations: 223.1 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.1347, allocations: 401.7 kB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.653e-05/0.1348, allocations: 32.75 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.1351, allocations: 163.1 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.1353, allocations: 171.1 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1354, allocations: 16 kB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.1362, allocations: 463 kB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1363, allocations: 135.4 kB / 0.5605 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.1365, allocations: 194.6 kB / 0.5607 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.1373, allocations: 0.6261 MB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1373, allocations: 3.938 kB / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1374, allocations: 0 / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1374, allocations: 0 / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001205/0.1386, allocations: 0.7944 MB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1386, allocations: 8.031 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1387, allocations: 98.7 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.1388, allocations: 60.56 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.1393, allocations: 323.5 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.1393, allocations: 33.38 kB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.1394, allocations: 43.94 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1404, allocations: 0.6953 MB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1404, allocations: 0 / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.1404, allocations: 23.97 kB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-05/0.1405, allocations: 53.28 kB / 0.5634 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1416, allocations: 0.7234 MB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.1442, allocations: 1.712 MB / 0.5658 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.1448, allocations: 351.4 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.1451, allocations: 145.2 kB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.1451, allocations: 8.219 kB / 0.5663 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1451, allocations: 34.8 kB / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.412e-06/0.1451, allocations: 0 / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.001038/0.1462, allocations: 491.7 kB / 0.5668 GB, free: 10.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.1462, allocations: 59.41 kB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.1468, allocations: 461.5 kB / 0.5673 GB, free: 9.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.1468, allocations: 29.7 kB / 0.5673 GB, free: 9.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.147, allocations: 256.1 kB / 0.5675 GB, free: 9.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1471, allocations: 115 kB / 0.5677 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1473, allocations: 89.41 kB / 0.5677 GB, free: 9.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1474, allocations: 350.8 kB / 0.5681 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.1477, allocations: 139.8 kB / 0.5682 GB, free: 9.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.1481, allocations: 253.4 kB / 0.5684 GB, free: 8.715 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.1488, allocations: 430.2 kB / 0.5689 GB, free: 8.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1488, allocations: 3.938 kB / 0.5689 GB, free: 8.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008511/0.1496, allocations: 485.2 kB / 0.5693 GB, free: 7.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1496, allocations: 6.188 kB / 0.5693 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.1496, allocations: 4 kB / 0.5693 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.1497, allocations: 8 kB / 0.5693 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.1502, allocations: 159.8 kB / 0.5695 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.1525, allocations: 3.61 MB / 0.573 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1528, allocations: 67.5 kB / 0.5731 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.1529, allocations: 23.94 kB / 0.5731 GB, free: 3.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.1532, allocations: 209.7 kB / 0.5733 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.1532, allocations: 35.95 kB / 0.5733 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.1545, allocations: 0.5442 MB / 0.5739 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1545, allocations: 4 kB / 0.5739 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1545, allocations: 3.984 kB / 0.5739 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1545, allocations: 0 / 0.5739 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.1552, allocations: 453.2 kB / 0.5743 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1552, allocations: 3.984 kB / 0.5743 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.1557, allocations: 135.9 kB / 0.5744 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1557, allocations: 8 kB / 0.5745 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.1557, allocations: 12 kB / 0.5745 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.1581, allocations: 3.606 MB / 0.578 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1581, allocations: 4 kB / 0.578 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1592, allocations: 0.6559 MB / 0.5786 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.1595, allocations: 164.7 kB / 0.5788 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.1595, allocations: 8 kB / 0.5788 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1597, allocations: 20.08 kB / 0.5788 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.1598, allocations: 31.91 kB / 0.5788 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.1598, allocations: 12 kB / 0.5789 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003886/0.1602, allocations: 347.1 kB / 0.5792 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1602, allocations: 0 / 0.5792 GB, free: 13.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005637/0.1608, allocations: 167.5 kB / 0.5793 GB, free: 13.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001707/0.1625, allocations: 1.275 MB / 0.5806 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1636, allocations: 424.3 kB / 0.581 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.1636, allocations: 4 kB / 0.581 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006501/0.1643, allocations: 247.8 kB / 0.5812 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.1648, allocations: 41.44 kB / 0.5813 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/0.172, allocations: 4.882 MB / 0.586 GB, free: 6.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.1727, allocations: 0.9092 MB / 0.5869 GB, free: 5.125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.173, allocations: 143 kB / 0.5871 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.1734, allocations: 163.4 kB / 0.5872 GB, free: 4.828 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1734, allocations: 3.938 kB / 0.5872 GB, free: 4.824 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2767/0.45, allocations: 11.32 MB / 0.5983 GB, free: 36.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.81, allocations: 5.656 kB / 0.5983 GB, free: 36.14 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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: 16.473210609983653]