Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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_overall_KC,tolerance=1e-07,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,tolerance=1e-07,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 109.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002072/0.002072, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 71.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3438, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00327/0.3471, allocations: 2.003 MB / 0.5336 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.3497, allocations: 1.879 MB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3498, allocations: 1.312 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.3502, allocations: 71.3 kB / 0.5355 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.3506, allocations: 126.5 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.3514, allocations: 349.3 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.3519, allocations: 396.9 kB / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.352, allocations: 43.09 kB / 0.5364 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.3523, allocations: 153 kB / 0.5366 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.3525, allocations: 177.5 kB / 0.5367 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.3525, allocations: 14.47 kB / 0.5367 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/0.3535, allocations: 0.5599 MB / 0.5373 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3536, allocations: 99.89 kB / 0.5374 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3538, allocations: 153 kB / 0.5375 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.3547, allocations: 0.644 MB / 0.5382 GB, free: 8.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3547, allocations: 1.219 kB / 0.5382 GB, free: 8.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3547, allocations: 0 / 0.5382 GB, free: 8.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3547, allocations: 0 / 0.5382 GB, free: 8.863 MB / 398.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.001103/0.3559, allocations: 0.689 MB / 0.5388 GB, free: 8.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3559, allocations: 10.03 kB / 0.5389 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.356, allocations: 39.34 kB / 0.5389 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.3564, allocations: 284 kB / 0.5392 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3564, allocations: 27.89 kB / 0.5392 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.3565, allocations: 40.67 kB / 0.5392 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.3573, allocations: 0.5514 MB / 0.5398 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3574, allocations: 5.062 kB / 0.5398 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.3574, allocations: 19.06 kB / 0.5398 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/0.3575, allocations: 39.97 kB / 0.5398 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.3585, allocations: 0.5677 MB / 0.5404 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.3602, allocations: 1.172 MB / 0.5415 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.3609, allocations: 388 kB / 0.5419 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.3612, allocations: 130 kB / 0.542 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.3612, allocations: 11.31 kB / 0.542 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3613, allocations: 36.94 kB / 0.5421 GB, free: 6.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.384e-06/0.3613, allocations: 0 / 0.5421 GB, free: 6.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001005/0.3623, allocations: 466.4 kB / 0.5425 GB, free: 6.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.3623, allocations: 53.56 kB / 0.5426 GB, free: 6.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.3629, allocations: 451.4 kB / 0.543 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3629, allocations: 25.7 kB / 0.543 GB, free: 5.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.363, allocations: 192.9 kB / 0.5432 GB, free: 5.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/0.3631, allocations: 75.66 kB / 0.5433 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3632, allocations: 56.56 kB / 0.5433 GB, free: 5.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3634, allocations: 357.7 kB / 0.5437 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.3636, allocations: 115.2 kB / 0.5438 GB, free: 5.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3639, allocations: 120.7 kB / 0.5439 GB, free: 5.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.3644, allocations: 268.6 kB / 0.5441 GB, free: 4.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3644, allocations: 0 / 0.5441 GB, free: 4.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006206/0.365, allocations: 341 kB / 0.5445 GB, free: 4.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.365, allocations: 4 kB / 0.5445 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.365, allocations: 3.938 kB / 0.5445 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3651, allocations: 0 / 0.5445 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.3658, allocations: 159.8 kB / 0.5446 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.3686, allocations: 5.52 MB / 0.55 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3689, allocations: 43.41 kB / 0.5501 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.3689, allocations: 15.98 kB / 0.5501 GB, free: 14.46 MB / 414.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.0002345/0.3692, allocations: 193.6 kB / 0.5503 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.3693, allocations: 31.62 kB / 0.5503 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008549/0.3701, allocations: 459.6 kB / 0.5507 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3701, allocations: 4 kB / 0.5507 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3701, allocations: 0 / 0.5507 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3702, allocations: 0 / 0.5507 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.3706, allocations: 385.1 kB / 0.5511 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3706, allocations: 4 kB / 0.5511 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.3713, allocations: 147.9 kB / 0.5512 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3713, allocations: 4 kB / 0.5513 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3714, allocations: 11.98 kB / 0.5513 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.3742, allocations: 5.516 MB / 0.5566 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3743, allocations: 7.938 kB / 0.5567 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.375, allocations: 447 kB / 0.5571 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3752, allocations: 112.6 kB / 0.5572 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.3752, allocations: 8 kB / 0.5572 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3754, allocations: 7.984 kB / 0.5572 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.3755, allocations: 19.92 kB / 0.5572 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.3756, allocations: 15.98 kB / 0.5572 GB, free: 6.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003841/0.376, allocations: 339.1 kB / 0.5576 GB, free: 6.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.376, allocations: 0 / 0.5576 GB, free: 6.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006082/0.3766, allocations: 143.9 kB / 0.5577 GB, free: 6.352 MB / 414.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.0004771/0.3771, allocations: 226.9 kB / 0.5579 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3782, allocations: 395.6 kB / 0.5583 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3782, allocations: 4 kB / 0.5583 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007701/0.379, allocations: 283 kB / 0.5586 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.3796, allocations: 87.56 kB / 0.5587 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3811, allocations: 0.8047 MB / 0.5594 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.3815, allocations: 0.8464 MB / 0.5603 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.3817, allocations: 39.41 kB / 0.5603 GB, free: 3.621 MB / 414.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3817, allocations: 4 kB / 0.5603 GB, free: 3.617 MB / 414.1 MB Notification: Performance of Templates: time 0.02365/0.4053, allocations: 19.94 MB / 0.5798 GB, free: 15.7 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches