Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC,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.|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_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,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.|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_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001736/0.001736, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 80.16 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3841, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003282/0.3875, allocations: 2.024 MB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.389, allocations: 0.9308 MB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.3891, allocations: 1.875 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.3894, allocations: 63.53 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.3898, allocations: 135.2 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3901, allocations: 86.34 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.3905, allocations: 388.7 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.295e-05/0.3906, allocations: 39.28 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.3908, allocations: 160.9 kB / 0.5354 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3911, allocations: 177.3 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.3911, allocations: 11 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.3914, allocations: 147.9 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3915, allocations: 104 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.3917, allocations: 152.9 kB / 0.536 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.3922, allocations: 430.7 kB / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3922, allocations: 0 / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.856e-06/0.3922, allocations: 1.219 kB / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3923, allocations: 7.938 kB / 0.5364 GB, free: 10.14 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.001032/0.3933, allocations: 0.6514 MB / 0.537 GB, free: 9.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3933, allocations: 9.344 kB / 0.537 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.3934, allocations: 38.72 kB / 0.5371 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.3938, allocations: 278.3 kB / 0.5373 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.3938, allocations: 24 kB / 0.5374 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.3939, allocations: 39.98 kB / 0.5374 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008571/0.3948, allocations: 0.5601 MB / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3948, allocations: 0 / 0.5379 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.3948, allocations: 16.06 kB / 0.538 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.634e-05/0.3949, allocations: 43.34 kB / 0.538 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3959, allocations: 0.5671 MB / 0.5386 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3977, allocations: 1.181 MB / 0.5397 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006719/0.3984, allocations: 376 kB / 0.5401 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.3987, allocations: 135 kB / 0.5402 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.3987, allocations: 7.562 kB / 0.5402 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3987, allocations: 31.53 kB / 0.5402 GB, free: 7.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.3988, allocations: 5.375 kB / 0.5402 GB, free: 7.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001018/0.3998, allocations: 465.9 kB / 0.5407 GB, free: 7.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3998, allocations: 57.59 kB / 0.5407 GB, free: 7.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.4004, allocations: 451.2 kB / 0.5412 GB, free: 7.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.4004, allocations: 30.92 kB / 0.5412 GB, free: 7.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.4005, allocations: 187.4 kB / 0.5414 GB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.4006, allocations: 80.78 kB / 0.5414 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4007, allocations: 51.78 kB / 0.5415 GB, free: 6.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4009, allocations: 354.1 kB / 0.5418 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.4011, allocations: 118.2 kB / 0.5419 GB, free: 6.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.4014, allocations: 116.4 kB / 0.5421 GB, free: 6.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.4019, allocations: 266.2 kB / 0.5423 GB, free: 6.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.402, allocations: 4 kB / 0.5423 GB, free: 6.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006625/0.4026, allocations: 344.4 kB / 0.5426 GB, free: 6.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4026, allocations: 5.094 kB / 0.5426 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4027, allocations: 3.938 kB / 0.5427 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4027, allocations: 1.406 kB / 0.5427 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.4034, allocations: 159.7 kB / 0.5428 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.4064, allocations: 5.522 MB / 0.5482 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.4067, allocations: 43.47 kB / 0.5482 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4067, allocations: 15.98 kB / 0.5483 GB, free: 292 kB / 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.0002687/0.407, allocations: 201.1 kB / 0.5484 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.4071, allocations: 31.62 kB / 0.5485 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009008/0.408, allocations: 451.5 kB / 0.5489 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.408, allocations: 7.938 kB / 0.5489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.408, allocations: 0 / 0.5489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.408, allocations: 0 / 0.5489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.4086, allocations: 377.1 kB / 0.5493 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4086, allocations: 0 / 0.5493 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/0.4093, allocations: 163.9 kB / 0.5494 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4093, allocations: 0 / 0.5494 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.4093, allocations: 11.98 kB / 0.5494 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.4128, allocations: 5.509 MB / 0.5548 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4128, allocations: 3.938 kB / 0.5548 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.4135, allocations: 446.7 kB / 0.5553 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.4136, allocations: 128.5 kB / 0.5554 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.4137, allocations: 0 / 0.5554 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4139, allocations: 11.98 kB / 0.5554 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.414, allocations: 28.02 kB / 0.5554 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.414, allocations: 11.98 kB / 0.5554 GB, free: 8.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003537/0.4143, allocations: 339.1 kB / 0.5557 GB, free: 8.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4144, allocations: 0 / 0.5557 GB, free: 8.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.4148, allocations: 99.94 kB / 0.5558 GB, free: 8.215 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.0002618/0.415, allocations: 139.1 kB / 0.556 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.4161, allocations: 395.6 kB / 0.5564 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4162, allocations: 0 / 0.5564 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007816/0.4169, allocations: 287 kB / 0.5566 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.4174, allocations: 81.45 kB / 0.5567 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4188, allocations: 0.8067 MB / 0.5575 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.4192, allocations: 0.858 MB / 0.5583 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.4193, allocations: 27.42 kB / 0.5584 GB, free: 5.574 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4193, allocations: 0 / 0.5584 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Templates: time 0.02011/0.4394, allocations: 19.2 MB / 0.5771 GB, free: 2.395 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches