Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 100.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 192.1 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003299/0.1239, allocations: 2.009 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1256, allocations: 0.9394 MB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.1258, allocations: 4 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.1262, allocations: 63.66 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.1267, allocations: 119.4 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.127, allocations: 83.66 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000576/0.1276, allocations: 390.1 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1277, allocations: 48.7 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.1281, allocations: 159.1 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.1284, allocations: 175.2 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.1284, allocations: 12 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.1287, allocations: 139.7 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1288, allocations: 91.59 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.129, allocations: 158.9 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.1296, allocations: 430.3 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1296, allocations: 0 / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1296, allocations: 0 / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1296, allocations: 0 / 0.4921 GB, free: 7.469 MB / 382.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.001108/0.1307, allocations: 0.6624 MB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1308, allocations: 12.03 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.1309, allocations: 82.7 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.131, allocations: 44.45 kB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1314, allocations: 279.5 kB / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.1315, allocations: 33.36 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.1315, allocations: 32.38 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008523/0.1324, allocations: 0.5569 MB / 0.4937 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1324, allocations: 0 / 0.4937 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.1324, allocations: 19.98 kB / 0.4938 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.077e-05/0.1325, allocations: 36.97 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009385/0.1335, allocations: 0.5737 MB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1353, allocations: 1.175 MB / 0.4955 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.136, allocations: 378.2 kB / 0.4959 GB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.1362, allocations: 136.8 kB / 0.496 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.1363, allocations: 15.88 kB / 0.496 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1363, allocations: 38.59 kB / 0.4961 GB, free: 3.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.1363, allocations: 0 / 0.4961 GB, free: 3.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009507/0.1373, allocations: 461.4 kB / 0.4965 GB, free: 2.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1373, allocations: 51.41 kB / 0.4965 GB, free: 2.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.1378, allocations: 453.6 kB / 0.497 GB, free: 2.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1379, allocations: 33.7 kB / 0.497 GB, free: 2.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.138, allocations: 188.4 kB / 0.4972 GB, free: 2.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.1381, allocations: 78.84 kB / 0.4973 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1382, allocations: 53.69 kB / 0.4973 GB, free: 1.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1384, allocations: 350.8 kB / 0.4976 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.1386, allocations: 115.9 kB / 0.4978 GB, free: 1.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.1389, allocations: 120 kB / 0.4979 GB, free: 1.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.1394, allocations: 272.5 kB / 0.4981 GB, free: 1.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1394, allocations: 0 / 0.4981 GB, free: 1.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006126/0.14, allocations: 340.9 kB / 0.4985 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.14, allocations: 7.938 kB / 0.4985 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.14, allocations: 0 / 0.4985 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1401, allocations: 0 / 0.4985 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.1408, allocations: 159.9 kB / 0.4986 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.144, allocations: 5.516 MB / 0.504 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1443, allocations: 43.83 kB / 0.504 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.1443, allocations: 15.98 kB / 0.5041 GB, free: 10.77 MB / 398.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.0002131/0.1446, allocations: 193.6 kB / 0.5042 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.1446, allocations: 35.53 kB / 0.5043 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.1455, allocations: 457 kB / 0.5047 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1455, allocations: 4 kB / 0.5047 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1455, allocations: 0 / 0.5047 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1455, allocations: 4 kB / 0.5047 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.146, allocations: 385.2 kB / 0.5051 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.146, allocations: 0 / 0.5051 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.1467, allocations: 151.9 kB / 0.5052 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1467, allocations: 4 kB / 0.5052 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1467, allocations: 11.94 kB / 0.5053 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.1497, allocations: 5.524 MB / 0.5106 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.1497, allocations: 3.938 kB / 0.5107 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.1503, allocations: 442.7 kB / 0.5111 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1505, allocations: 116.8 kB / 0.5112 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.1505, allocations: 12 kB / 0.5112 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1507, allocations: 4 kB / 0.5112 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.1508, allocations: 23.91 kB / 0.5112 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.1508, allocations: 15.98 kB / 0.5112 GB, free: 3.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003451/0.1512, allocations: 335.1 kB / 0.5116 GB, free: 2.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1512, allocations: 0 / 0.5116 GB, free: 2.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000429/0.1516, allocations: 103.8 kB / 0.5117 GB, free: 2.68 MB / 398.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.001163/0.1528, allocations: 1.009 MB / 0.5126 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.154, allocations: 400.1 kB / 0.513 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.154, allocations: 0 / 0.513 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007977/0.1548, allocations: 280.1 kB / 0.5133 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.1553, allocations: 92.45 kB / 0.5134 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.1611, allocations: 4.348 MB / 0.5176 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1616, allocations: 0.8542 MB / 0.5185 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.1618, allocations: 87.19 kB / 0.5185 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1619, allocations: 115.4 kB / 0.5187 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.162, allocations: 0 / 0.5187 GB, free: 11.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.4026, allocations: 11.8 MB / 0.5302 GB, free: 41.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.01, allocations: 3.797 kB / 0.5302 GB, free: 41.09 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches