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.001104/0.001104, allocations: 101.6 kB / 16.4 MB, free: 6.449 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.001177/0.001178, allocations: 189 kB / 17.33 MB, free: 5.75 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.216/0.216, allocations: 43.52 MB / 314.1 MB, free: 456 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.001551/0.001551, allocations: 71.91 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.004176/0.1298, allocations: 2.006 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1316, allocations: 0.9433 MB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1318, allocations: 0 / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.1322, allocations: 63.66 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.1327, allocations: 119.4 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.133, allocations: 83.67 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.1335, allocations: 386.1 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1336, allocations: 48.7 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.1339, allocations: 155.2 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.1342, allocations: 183.1 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.1343, allocations: 8 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.1346, allocations: 143.7 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1348, allocations: 95.53 kB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.135, allocations: 158.9 kB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005765/0.1355, allocations: 430.4 kB / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1356, allocations: 0 / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1356, allocations: 0 / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.1356, allocations: 0 / 0.4921 GB, free: 7.453 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.001177/0.1368, allocations: 0.6552 MB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1368, allocations: 8.031 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1369, allocations: 82.72 kB / 0.4928 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.137, allocations: 36.47 kB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.1375, allocations: 291.5 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.1375, allocations: 29.38 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.1376, allocations: 44.36 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008467/0.1384, allocations: 0.553 MB / 0.4938 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1384, allocations: 0 / 0.4938 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.1385, allocations: 12 kB / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.1385, allocations: 48.91 kB / 0.4938 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009938/0.1395, allocations: 0.5698 MB / 0.4944 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.1415, allocations: 1.175 MB / 0.4955 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/0.1421, allocations: 374.2 kB / 0.4959 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.1424, allocations: 136.9 kB / 0.496 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.1424, allocations: 23.95 kB / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1425, allocations: 34.59 kB / 0.4961 GB, free: 3.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.1425, allocations: 0 / 0.4961 GB, free: 3.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009846/0.1435, allocations: 453.4 kB / 0.4965 GB, free: 2.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1435, allocations: 55.41 kB / 0.4965 GB, free: 2.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.144, allocations: 457.6 kB / 0.497 GB, free: 2.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1441, allocations: 33.7 kB / 0.497 GB, free: 2.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1442, allocations: 184.4 kB / 0.4972 GB, free: 2.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.1443, allocations: 82.83 kB / 0.4973 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.1444, allocations: 45.7 kB / 0.4973 GB, free: 1.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1446, allocations: 354.7 kB / 0.4976 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1448, allocations: 119.9 kB / 0.4978 GB, free: 1.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.1451, allocations: 124 kB / 0.4979 GB, free: 1.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.1456, allocations: 264.5 kB / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1456, allocations: 0 / 0.4981 GB, free: 1.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006608/0.1463, allocations: 340.9 kB / 0.4985 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.1463, allocations: 11.94 kB / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1464, allocations: 0 / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1464, allocations: 0 / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.1471, allocations: 163.9 kB / 0.4986 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.1503, allocations: 5.512 MB / 0.504 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.1505, allocations: 47.83 kB / 0.5041 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.1505, allocations: 12 kB / 0.5041 GB, free: 10.75 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.0002084/0.1508, allocations: 197.6 kB / 0.5043 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.1508, allocations: 35.53 kB / 0.5043 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/0.1517, allocations: 453 kB / 0.5047 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1517, allocations: 4 kB / 0.5047 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1517, allocations: 3.938 kB / 0.5047 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1518, allocations: 4 kB / 0.5047 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.1523, allocations: 373.2 kB / 0.5051 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1523, allocations: 0 / 0.5051 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.153, allocations: 163.8 kB / 0.5052 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.153, allocations: 0 / 0.5052 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.153, allocations: 11.94 kB / 0.5053 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.156, allocations: 5.512 MB / 0.5106 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.156, allocations: 7.875 kB / 0.5106 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.1567, allocations: 443 kB / 0.5111 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1568, allocations: 120.7 kB / 0.5112 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.1569, allocations: 11.98 kB / 0.5112 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1571, allocations: 8 kB / 0.5112 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.1572, allocations: 27.91 kB / 0.5112 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1572, allocations: 8 kB / 0.5112 GB, free: 3.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003658/0.1576, allocations: 343.1 kB / 0.5116 GB, free: 2.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 0.5116 GB, free: 2.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000391/0.158, allocations: 99.84 kB / 0.5117 GB, free: 2.664 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.001209/0.1592, allocations: 1.009 MB / 0.5126 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.1604, allocations: 404.1 kB / 0.513 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1604, allocations: 0 / 0.513 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008466/0.1613, allocations: 276.1 kB / 0.5133 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.1618, allocations: 93.73 kB / 0.5134 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/0.1677, allocations: 4.346 MB / 0.5176 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.1682, allocations: 0.8504 MB / 0.5185 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.1685, allocations: 91.19 kB / 0.5185 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.1686, allocations: 111.4 kB / 0.5187 GB, free: 11.37 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1687, allocations: 0 / 0.5187 GB, free: 11.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2757/0.4444, allocations: 11.8 MB / 0.5302 GB, free: 40.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.37, allocations: 5.656 kB / 0.5302 GB, free: 40.86 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