Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.001865/0.001865, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002273/0.002273, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.486/1.486, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2288/0.2288, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 75.89 kB / 0.491 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1268, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003363/0.1301, allocations: 1.839 MB / 0.5572 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.1346, allocations: 2.967 MB / 0.5601 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.1347, allocations: 0 / 0.5601 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.135, allocations: 47.67 kB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.1353, allocations: 79.64 kB / 0.5602 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.137, allocations: 0.7433 MB / 0.5609 GB, free: 136 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.1374, allocations: 242.7 kB / 0.5612 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.1374, allocations: 16.41 kB / 0.5612 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1377, allocations: 111.4 kB / 0.5613 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1378, allocations: 127.4 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1379, allocations: 8 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.1396, allocations: 1.228 MB / 0.5626 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1397, allocations: 75.56 kB / 0.5627 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1399, allocations: 111.2 kB / 0.5628 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.1414, allocations: 0.9421 MB / 0.5637 GB, free: 13.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1414, allocations: 4 kB / 0.5637 GB, free: 13.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1414, allocations: 0 / 0.5637 GB, free: 13.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1414, allocations: 0 / 0.5637 GB, free: 13.27 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001107/0.1425, allocations: 0.677 MB / 0.5644 GB, free: 12.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1425, allocations: 16.02 kB / 0.5644 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.1426, allocations: 74.72 kB / 0.5645 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.1427, allocations: 36.69 kB / 0.5645 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.143, allocations: 239.2 kB / 0.5647 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.143, allocations: 20.48 kB / 0.5648 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.143, allocations: 28 kB / 0.5648 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/0.1438, allocations: 467.3 kB / 0.5652 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1438, allocations: 0 / 0.5652 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.1439, allocations: 19.92 kB / 0.5653 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/0.1439, allocations: 44.97 kB / 0.5653 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.1448, allocations: 0.5465 MB / 0.5658 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.1467, allocations: 1.315 MB / 0.5671 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.1473, allocations: 264.7 kB / 0.5674 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.1475, allocations: 88.8 kB / 0.5675 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.1475, allocations: 15.86 kB / 0.5675 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1476, allocations: 30.56 kB / 0.5675 GB, free: 9.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.1476, allocations: 0 / 0.5675 GB, free: 9.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008035/0.1484, allocations: 337.9 kB / 0.5678 GB, free: 8.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1484, allocations: 51.41 kB / 0.5679 GB, free: 8.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1486, allocations: 144.3 kB / 0.568 GB, free: 8.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1486, allocations: 29.7 kB / 0.568 GB, free: 8.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1488, allocations: 204.5 kB / 0.5682 GB, free: 8.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.1489, allocations: 91.22 kB / 0.5683 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.149, allocations: 73.69 kB / 0.5684 GB, free: 8.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1491, allocations: 326.8 kB / 0.5687 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1493, allocations: 83.92 kB / 0.5688 GB, free: 7.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.1496, allocations: 178 kB / 0.5689 GB, free: 7.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.1501, allocations: 294.1 kB / 0.5692 GB, free: 7.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1501, allocations: 4 kB / 0.5692 GB, free: 7.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006173/0.1507, allocations: 321.1 kB / 0.5695 GB, free: 6.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1508, allocations: 8 kB / 0.5695 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1508, allocations: 0 / 0.5695 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1508, allocations: 8 kB / 0.5696 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.1513, allocations: 120.2 kB / 0.5697 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.1528, allocations: 2.36 MB / 0.572 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.153, allocations: 39.7 kB / 0.572 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.153, allocations: 16 kB / 0.572 GB, free: 4.305 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.1532, allocations: 173.7 kB / 0.5722 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.1532, allocations: 11.91 kB / 0.5722 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.154, allocations: 382.2 kB / 0.5726 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.154, allocations: 4 kB / 0.5726 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1541, allocations: 0 / 0.5726 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1541, allocations: 7.922 kB / 0.5726 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.1545, allocations: 341.3 kB / 0.5729 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1545, allocations: 0 / 0.5729 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.1549, allocations: 107.9 kB / 0.573 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1549, allocations: 0 / 0.573 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1549, allocations: 12 kB / 0.573 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.1563, allocations: 2.364 MB / 0.5753 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1563, allocations: 0 / 0.5753 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.1569, allocations: 371.2 kB / 0.5757 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1569, allocations: 96.95 kB / 0.5758 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.157, allocations: 4 kB / 0.5758 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1571, allocations: 16.08 kB / 0.5758 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.1572, allocations: 19.97 kB / 0.5758 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1572, allocations: 15.94 kB / 0.5758 GB, free: 224 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.57e-05/0.1573, allocations: 101.9 kB / 0.5759 GB, free: 124 kB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1573, allocations: 0 / 0.5759 GB, free: 124 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007572/0.1581, allocations: 254.7 kB / 0.5762 GB, free: 15.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001537/0.1596, allocations: 1.165 MB / 0.5773 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007963/0.1604, allocations: 287.8 kB / 0.5776 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1604, allocations: 0 / 0.5776 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.1609, allocations: 171.8 kB / 0.5777 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1612, allocations: 16.67 kB / 0.5778 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.1647, allocations: 2.596 MB / 0.5803 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.1652, allocations: 0.7946 MB / 0.5811 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.1655, allocations: 105.7 kB / 0.5812 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1656, allocations: 91.39 kB / 0.5813 GB, free: 10.46 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1656, allocations: 4 kB / 0.5813 GB, free: 10.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.201, allocations: 8.942 MB / 0.59 GB, free: 1.727 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.56, allocations: 1.078 kB / 0.59 GB, free: 1.727 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.29916891013272]