Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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.001868/0.001868, allocations: 120.5 kB / 17.79 MB, free: 5.133 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.002043/0.002043, allocations: 215.2 kB / 20.75 MB, free: 2.18 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.43/1.43, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2209/0.2209, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 79.88 kB / 0.491 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 65.98 MB / 0.5554 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003842/0.1399, allocations: 2.033 MB / 0.5574 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.143, allocations: 1.888 MB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.1431, allocations: 4 kB / 0.5592 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1434, allocations: 59.66 kB / 0.5593 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.1439, allocations: 123.4 kB / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.1447, allocations: 346.6 kB / 0.5597 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.1451, allocations: 394.1 kB / 0.5601 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.1452, allocations: 32.73 kB / 0.5601 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.1455, allocations: 159.2 kB / 0.5603 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1457, allocations: 191.1 kB / 0.5605 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.1458, allocations: 12 kB / 0.5605 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00086/0.1466, allocations: 0.5577 MB / 0.561 GB, free: 84 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1468, allocations: 107.5 kB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.1469, allocations: 150.9 kB / 0.5613 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009876/0.1479, allocations: 0.6342 MB / 0.5619 GB, free: 15.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.1479, allocations: 7.984 kB / 0.5619 GB, free: 15.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1479, allocations: 0 / 0.5619 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.148, allocations: 7.875 kB / 0.5619 GB, free: 15.18 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001274/0.1492, allocations: 0.6933 MB / 0.5626 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1493, allocations: 12.03 kB / 0.5626 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.91e-05/0.1494, allocations: 78.72 kB / 0.5627 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.1495, allocations: 48.66 kB / 0.5627 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1499, allocations: 275.8 kB / 0.563 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1499, allocations: 29.31 kB / 0.563 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.15, allocations: 40.36 kB / 0.5631 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.1509, allocations: 0.5609 MB / 0.5636 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1509, allocations: 0 / 0.5636 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.1509, allocations: 12 kB / 0.5636 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/0.151, allocations: 40.97 kB / 0.5637 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.152, allocations: 0.5698 MB / 0.5642 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.1538, allocations: 1.18 MB / 0.5654 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.1545, allocations: 362.2 kB / 0.5657 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.1548, allocations: 136.8 kB / 0.5658 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.1548, allocations: 4 kB / 0.5658 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1549, allocations: 34.56 kB / 0.5659 GB, free: 10.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.1549, allocations: 4 kB / 0.5659 GB, free: 10.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001058/0.1559, allocations: 468 kB / 0.5663 GB, free: 10.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.156, allocations: 59.33 kB / 0.5664 GB, free: 10.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.1565, allocations: 449.6 kB / 0.5668 GB, free: 9.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1566, allocations: 29.7 kB / 0.5668 GB, free: 9.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1567, allocations: 196.4 kB / 0.567 GB, free: 9.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.449e-05/0.1568, allocations: 75.36 kB / 0.5671 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1569, allocations: 57.7 kB / 0.5672 GB, free: 9.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1571, allocations: 350.7 kB / 0.5675 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1575, allocations: 119.9 kB / 0.5676 GB, free: 9.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.1578, allocations: 115.9 kB / 0.5677 GB, free: 9.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.1584, allocations: 268.5 kB / 0.568 GB, free: 8.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1584, allocations: 4 kB / 0.568 GB, free: 8.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006611/0.159, allocations: 344 kB / 0.5683 GB, free: 8.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1591, allocations: 9.969 kB / 0.5683 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1591, allocations: 0 / 0.5683 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1591, allocations: 0 / 0.5683 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.1599, allocations: 155.9 kB / 0.5685 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.1634, allocations: 5.516 MB / 0.5738 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1636, allocations: 51.53 kB / 0.5739 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.1637, allocations: 15.98 kB / 0.5739 GB, free: 2.441 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.1639, allocations: 196 kB / 0.5741 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.164, allocations: 35.77 kB / 0.5741 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009507/0.165, allocations: 456.5 kB / 0.5746 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.165, allocations: 4 kB / 0.5746 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.165, allocations: 4 kB / 0.5746 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.165, allocations: 0 / 0.5746 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.1655, allocations: 377.2 kB / 0.5749 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1655, allocations: 3.984 kB / 0.5749 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.1662, allocations: 155.9 kB / 0.5751 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.1662, allocations: 8 kB / 0.5751 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.1662, allocations: 11.98 kB / 0.5751 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.1697, allocations: 5.513 MB / 0.5805 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1697, allocations: 7.969 kB / 0.5805 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.1705, allocations: 449.9 kB / 0.5809 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.1706, allocations: 120.8 kB / 0.581 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.1707, allocations: 11.98 kB / 0.5811 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.1709, allocations: 4 kB / 0.5811 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.171, allocations: 31.94 kB / 0.5811 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.171, allocations: 15.98 kB / 0.5811 GB, free: 10.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003975/0.1714, allocations: 335.1 kB / 0.5814 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1714, allocations: 0 / 0.5814 GB, free: 10.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005092/0.1719, allocations: 143.6 kB / 0.5816 GB, free: 10.3 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/0.1734, allocations: 1.098 MB / 0.5826 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.1747, allocations: 398.7 kB / 0.583 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1747, allocations: 0 / 0.583 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.1756, allocations: 267.7 kB / 0.5833 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.1761, allocations: 89.42 kB / 0.5833 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.182, allocations: 4.378 MB / 0.5876 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.1825, allocations: 0.862 MB / 0.5885 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.1827, allocations: 83.22 kB / 0.5885 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.1829, allocations: 107.4 kB / 0.5886 GB, free: 2.906 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1829, allocations: 0 / 0.5886 GB, free: 2.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2862/0.4691, allocations: 13.07 MB / 0.6014 GB, free: 35.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.03, allocations: 3.469 kB / 0.6014 GB, free: 35.39 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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.511775952065364]