Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 83.86 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1246, allocations: 62.44 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003309/0.1279, allocations: 2.129 MB / 483.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1297, allocations: 1.289 MB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1298, allocations: 4 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1301, allocations: 63.58 kB / 485 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1303, allocations: 99.38 kB / 485.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1309, allocations: 195.3 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.1314, allocations: 433.9 kB / 485.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.1315, allocations: 52.7 kB / 485.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.1318, allocations: 159.2 kB / 485.9 MB, free: 72 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1321, allocations: 179.1 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.1321, allocations: 16 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.1326, allocations: 271.5 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1327, allocations: 91.55 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.1329, allocations: 174.8 kB / 486.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.1335, allocations: 0.5138 MB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1336, allocations: 3.938 kB / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1336, allocations: 0 / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1336, allocations: 0 / 487.1 MB, free: 14.83 MB / 366.1 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.00118/0.1348, allocations: 0.7097 MB / 487.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1348, allocations: 12.03 kB / 487.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.1353, allocations: 76.42 kB / 487.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1357, allocations: 288.3 kB / 488.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.1357, allocations: 29.38 kB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.1358, allocations: 36.38 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.1366, allocations: 0.5819 MB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1367, allocations: 3.984 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1367, allocations: 16 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.1367, allocations: 24.98 kB / 488.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.1375, allocations: 427.6 kB / 489.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1393, allocations: 1.371 MB / 490.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.1398, allocations: 275.5 kB / 490.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.1401, allocations: 142.4 kB / 491.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.1402, allocations: 8 kB / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1402, allocations: 38.55 kB / 491.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.1402, allocations: 0 / 491.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001061/0.1413, allocations: 460 kB / 491.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.1414, allocations: 110.8 kB / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.1419, allocations: 0.5017 MB / 492.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1419, allocations: 25.7 kB / 492.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1421, allocations: 208.2 kB / 492.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1421, allocations: 55.19 kB / 492.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1422, allocations: 53.77 kB / 492.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1424, allocations: 350.8 kB / 492.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.1427, allocations: 127.9 kB / 493 MB, free: 8.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.143, allocations: 172.6 kB / 493.1 MB, free: 8.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.1436, allocations: 304.8 kB / 493.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1436, allocations: 0 / 493.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007434/0.1444, allocations: 387.1 kB / 493.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1444, allocations: 11.97 kB / 493.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-05/0.1445, allocations: 35.98 kB / 493.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1445, allocations: 0 / 493.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1447, allocations: 35.91 kB / 493.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1447, allocations: 7.922 kB / 493.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.1449, allocations: 55.42 kB / 494 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.145, allocations: 12 kB / 494 MB, free: 7.645 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.1452, allocations: 189.7 kB / 494.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.1453, allocations: 43.47 kB / 494.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.146, allocations: 376.7 kB / 494.6 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.146, allocations: 4 kB / 494.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.146, allocations: 0 / 494.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.146, allocations: 3.984 kB / 494.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.1465, allocations: 365.3 kB / 494.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/0.1466, allocations: 28 kB / 495 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1467, allocations: 31.91 kB / 495 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1468, allocations: 7.938 kB / 495 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.1468, allocations: 11.98 kB / 495 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1468, allocations: 4 kB / 495 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1468, allocations: 0 / 495 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.1476, allocations: 0.5731 MB / 495.6 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1477, allocations: 128.5 kB / 495.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.1478, allocations: 0 / 495.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.148, allocations: 23.97 kB / 495.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.1481, allocations: 23.92 kB / 495.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.1481, allocations: 8 kB / 495.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003808/0.1485, allocations: 375 kB / 496.1 MB, free: 5.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 7.938 kB / 496.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.149, allocations: 115.9 kB / 496.3 MB, free: 5.266 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002722/0.1493, allocations: 159.2 kB / 496.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008153/0.1501, allocations: 0.5226 MB / 496.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1502, allocations: 0 / 496.9 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.1506, allocations: 383.2 kB / 497.3 MB, free: 4.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.1512, allocations: 97.52 kB / 497.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1526, allocations: 0.8057 MB / 498.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.153, allocations: 0.8497 MB / 499.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.1532, allocations: 67.23 kB / 499.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.1533, allocations: 23.44 kB / 499.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1533, allocations: 0 / 499.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of Templates: time 0.01249/0.1658, allocations: 7.281 MB / 0.4946 GB, free: 11 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches