Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.6 MB / 243.1 MB, free: 12.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007792/0.0007793, allocations: 99.17 kB / 295.1 MB, free: 4.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.173/0.173, allocations: 44.83 MB / 392 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002428, allocations: 8 kB / 464.8 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09629, allocations: 62.95 MB / 0.5153 GB, free: 5.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.001671/0.09801, allocations: 1.771 MB / 0.5171 GB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.09921, allocations: 1.146 MB / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.09928, allocations: 0 / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.09948, allocations: 55.67 kB / 0.5182 GB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.09966, allocations: 91.48 kB / 0.5183 GB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1, allocations: 151.5 kB / 0.5185 GB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.1004, allocations: 477.9 kB / 0.5189 GB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.1004, allocations: 44.7 kB / 0.519 GB, free: 1.336 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.1006, allocations: 147.2 kB / 0.5191 GB, free: 1.191 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1008, allocations: 191.2 kB / 0.5193 GB, free: 1.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.1008, allocations: 12 kB / 0.5193 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.1011, allocations: 247.5 kB / 0.5195 GB, free: 0.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.1012, allocations: 83.59 kB / 0.5196 GB, free: 0.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.1013, allocations: 85.45 kB / 0.5197 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1016, allocations: 371.2 kB / 0.5201 GB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1016, allocations: 0 / 0.5201 GB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1016, allocations: 0 / 0.5201 GB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1016, allocations: 0 / 0.5201 GB, free: 220 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009943/0.1026, allocations: 0.6551 MB / 0.5207 GB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1026, allocations: 8.031 kB / 0.5207 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.103, allocations: 87.39 kB / 0.5208 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1034, allocations: 286.2 kB / 0.5211 GB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1034, allocations: 29 kB / 0.5211 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.1035, allocations: 43.98 kB / 0.5211 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.1044, allocations: 0.5816 MB / 0.5217 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1044, allocations: 0 / 0.5217 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.1045, allocations: 16 kB / 0.5217 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.1045, allocations: 28.98 kB / 0.5217 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.1053, allocations: 447.6 kB / 0.5222 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.1069, allocations: 1.371 MB / 0.5235 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.1074, allocations: 283.6 kB / 0.5238 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.1077, allocations: 150.5 kB / 0.5239 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.1078, allocations: 8.094 kB / 0.5239 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1078, allocations: 46.44 kB / 0.524 GB, free: 11.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/0.1078, allocations: 3.938 kB / 0.524 GB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001156/0.109, allocations: 487.9 kB / 0.5244 GB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.1091, allocations: 106.8 kB / 0.5245 GB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.1096, allocations: 0.5018 MB / 0.525 GB, free: 10.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1096, allocations: 25.7 kB / 0.5251 GB, free: 10.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1098, allocations: 204.2 kB / 0.5253 GB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.1098, allocations: 63.09 kB / 0.5253 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.1098, allocations: 4 kB / 0.5253 GB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.1099, allocations: 354.8 kB / 0.5257 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.1103, allocations: 144 kB / 0.5258 GB, free: 10.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.1106, allocations: 185.9 kB / 0.526 GB, free: 9.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.1109, allocations: 151.9 kB / 0.5261 GB, free: 9.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.111, allocations: 4 kB / 0.5261 GB, free: 9.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008556/0.1118, allocations: 396.8 kB / 0.5265 GB, free: 9.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1118, allocations: 11.98 kB / 0.5265 GB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.235e-05/0.1119, allocations: 28 kB / 0.5265 GB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1119, allocations: 8.156 kB / 0.5265 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1121, allocations: 43.89 kB / 0.5266 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1122, allocations: 0 / 0.5266 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.1124, allocations: 63.42 kB / 0.5266 GB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1125, allocations: 23.88 kB / 0.5267 GB, free: 9.148 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.1127, allocations: 181.8 kB / 0.5268 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.1128, allocations: 35.53 kB / 0.5269 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.1135, allocations: 398.8 kB / 0.5273 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.1135, allocations: 4 kB / 0.5273 GB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.1135, allocations: 4 kB / 0.5273 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1136, allocations: 7.969 kB / 0.5273 GB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.1141, allocations: 365.2 kB / 0.5276 GB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-05/0.1141, allocations: 32 kB / 0.5277 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.1143, allocations: 31.97 kB / 0.5277 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1143, allocations: 0 / 0.5277 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1144, allocations: 11.98 kB / 0.5277 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1144, allocations: 0 / 0.5277 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1144, allocations: 4 kB / 0.5277 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1154, allocations: 0.6032 MB / 0.5283 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.1156, allocations: 120.5 kB / 0.5284 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.1157, allocations: 3.938 kB / 0.5284 GB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.1162, allocations: 27.97 kB / 0.5284 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.1163, allocations: 19.98 kB / 0.5285 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.1164, allocations: 8 kB / 0.5285 GB, free: 7.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005776/0.1169, allocations: 375 kB / 0.5288 GB, free: 6.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.117, allocations: 0 / 0.5288 GB, free: 6.852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000803/0.1178, allocations: 119.9 kB / 0.5289 GB, free: 6.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/0.1182, allocations: 163.1 kB / 0.5291 GB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.1194, allocations: 0.5419 MB / 0.5296 GB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1194, allocations: 0 / 0.5296 GB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.1199, allocations: 400 kB / 0.53 GB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.1205, allocations: 99.09 kB / 0.5301 GB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1219, allocations: 0.9165 MB / 0.531 GB, free: 4.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1222, allocations: 0.8422 MB / 0.5318 GB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.1223, allocations: 27.42 kB / 0.5318 GB, free: 3.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1223, allocations: 4 kB / 0.5318 GB, free: 3.566 MB / 362.7 MB Notification: Performance of Templates: time 0.008522/0.1308, allocations: 6.914 MB / 0.5386 GB, free: 12.7 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches