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.00142/0.00142, allocations: 117 kB / 18.49 MB, free: 4.566 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.001442/0.001442, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.444/1.444, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.2274/0.2274, allocations: 46.92 MB / 357.7 MB, free: 10.16 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 83.88 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1171, allocations: 66.04 MB / 0.5562 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.004155/0.1212, allocations: 1.848 MB / 0.558 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1238, allocations: 1.375 MB / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.124, allocations: 0 / 0.5593 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.1243, allocations: 63.64 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.1247, allocations: 91.56 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.1255, allocations: 219.1 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.126, allocations: 401.7 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1261, allocations: 32.75 kB / 0.5601 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.1265, allocations: 167.1 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.1268, allocations: 187 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.1268, allocations: 12 kB / 0.5604 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.1276, allocations: 459.1 kB / 0.5609 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.1278, allocations: 127.4 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.128, allocations: 194.6 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009796/0.129, allocations: 0.6264 MB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.129, allocations: 0 / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.129, allocations: 7.938 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.129, allocations: 0 / 0.5618 GB, free: 15.67 MB / 430.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.00141/0.1304, allocations: 0.7866 MB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1305, allocations: 12.03 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.863e-05/0.1305, allocations: 17.19 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.896e-05/0.1306, allocations: 90.7 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.775e-05/0.1307, allocations: 56.56 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.1311, allocations: 327.5 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.1312, allocations: 37.12 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.1312, allocations: 40 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.1323, allocations: 0.6953 MB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1323, allocations: 0 / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.1324, allocations: 19.98 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-05/0.1324, allocations: 61.28 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.1336, allocations: 0.7233 MB / 0.5646 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.136, allocations: 1.705 MB / 0.5663 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.1367, allocations: 361.2 kB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.1369, allocations: 133.2 kB / 0.5667 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.137, allocations: 12.22 kB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.137, allocations: 38.78 kB / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.137, allocations: 0 / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.001067/0.1381, allocations: 495.6 kB / 0.5672 GB, free: 9.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1381, allocations: 55.41 kB / 0.5673 GB, free: 9.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.1386, allocations: 457.5 kB / 0.5677 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.1387, allocations: 29.7 kB / 0.5678 GB, free: 9.277 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.1389, allocations: 268.1 kB / 0.568 GB, free: 9.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-05/0.139, allocations: 107 kB / 0.5681 GB, free: 8.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.1391, allocations: 85.41 kB / 0.5682 GB, free: 8.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1393, allocations: 350.8 kB / 0.5685 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.1396, allocations: 143.9 kB / 0.5687 GB, free: 8.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.1399, allocations: 253.4 kB / 0.5689 GB, free: 8.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000734/0.1407, allocations: 434.1 kB / 0.5693 GB, free: 7.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1407, allocations: 4 kB / 0.5693 GB, free: 7.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008888/0.1416, allocations: 477.1 kB / 0.5698 GB, free: 7.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1416, allocations: 11.98 kB / 0.5698 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1416, allocations: 0 / 0.5698 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1416, allocations: 11.98 kB / 0.5698 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.1423, allocations: 163.8 kB / 0.57 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.1446, allocations: 3.614 MB / 0.5735 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.1449, allocations: 63.44 kB / 0.5736 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.1449, allocations: 20 kB / 0.5736 GB, free: 3.059 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.000286/0.1452, allocations: 221.8 kB / 0.5738 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.1453, allocations: 43.77 kB / 0.5738 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.1465, allocations: 0.5215 MB / 0.5743 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1465, allocations: 7.938 kB / 0.5743 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1465, allocations: 0 / 0.5743 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1465, allocations: 3.938 kB / 0.5744 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.1475, allocations: 457.2 kB / 0.5748 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1475, allocations: 0 / 0.5748 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009453/0.1484, allocations: 143.9 kB / 0.5749 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.1484, allocations: 0 / 0.5749 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.1485, allocations: 8 kB / 0.5749 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.1517, allocations: 3.61 MB / 0.5785 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1517, allocations: 0 / 0.5785 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.1535, allocations: 0.656 MB / 0.5791 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/0.1538, allocations: 168.7 kB / 0.5793 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1539, allocations: 12.08 kB / 0.5793 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.1543, allocations: 12 kB / 0.5793 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1544, allocations: 35.89 kB / 0.5793 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.1544, allocations: 15.98 kB / 0.5793 GB, free: 12.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006465/0.1551, allocations: 343.1 kB / 0.5797 GB, free: 12.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1551, allocations: 0 / 0.5797 GB, free: 12.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006986/0.1558, allocations: 167.5 kB / 0.5798 GB, free: 12.42 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.001714/0.1575, allocations: 1.29 MB / 0.5811 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.1586, allocations: 424.3 kB / 0.5815 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1586, allocations: 64 / 0.5815 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.1593, allocations: 251.7 kB / 0.5817 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1597, allocations: 29.56 kB / 0.5818 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.1664, allocations: 4.882 MB / 0.5865 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.167, allocations: 0.9053 MB / 0.5874 GB, free: 4.434 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.1673, allocations: 147 kB / 0.5875 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.1676, allocations: 161.2 kB / 0.5877 GB, free: 4.137 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1676, allocations: 0 / 0.5877 GB, free: 4.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2549/0.4225, allocations: 11.38 MB / 0.5988 GB, free: 36.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.83, allocations: 10.44 kB / 0.5988 GB, free: 36.04 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.579804572975263]