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.001638/0.001638, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002021/0.002021, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2531/0.2531, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3881, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003529/0.3917, allocations: 2.116 MB / 0.5331 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3938, allocations: 1.298 MB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.394, allocations: 2.75 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3942, allocations: 70.7 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.3945, allocations: 87.88 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.3951, allocations: 204 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.3956, allocations: 442.4 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.3957, allocations: 48.45 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.396, allocations: 163.1 kB / 0.5353 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.3962, allocations: 177.3 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.3963, allocations: 13.31 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.3968, allocations: 276.2 kB / 0.5358 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3969, allocations: 91.06 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.3971, allocations: 163.6 kB / 0.536 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.3978, allocations: 0.5195 MB / 0.5365 GB, free: 9.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3978, allocations: 5.125 kB / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3978, allocations: 0 / 0.5365 GB, free: 9.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.3978, allocations: 3.938 kB / 0.5365 GB, free: 9.566 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001293/0.3991, allocations: 0.7184 MB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3992, allocations: 9.938 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.3996, allocations: 81.55 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.4, allocations: 287.6 kB / 0.5376 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.4001, allocations: 29.38 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.4001, allocations: 37.41 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/0.4011, allocations: 0.5833 MB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4011, allocations: 0 / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.4012, allocations: 14.88 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.4012, allocations: 23.23 kB / 0.5383 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008762/0.4021, allocations: 425.7 kB / 0.5387 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.4042, allocations: 1.386 MB / 0.54 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.4048, allocations: 271.7 kB / 0.5403 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.4052, allocations: 136 kB / 0.5404 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/0.4053, allocations: 12.89 kB / 0.5404 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.4053, allocations: 40.17 kB / 0.5405 GB, free: 6.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.706e-06/0.4054, allocations: 1.156 kB / 0.5405 GB, free: 6.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001298/0.4067, allocations: 455.6 kB / 0.5409 GB, free: 6.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.4067, allocations: 113.2 kB / 0.541 GB, free: 6.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.4073, allocations: 0.5034 MB / 0.5415 GB, free: 6.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4074, allocations: 25.7 kB / 0.5415 GB, free: 6.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.4075, allocations: 210.4 kB / 0.5417 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.4076, allocations: 58.23 kB / 0.5418 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.4077, allocations: 49.89 kB / 0.5418 GB, free: 5.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4079, allocations: 350.8 kB / 0.5422 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.4082, allocations: 130 kB / 0.5423 GB, free: 5.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.4085, allocations: 165.1 kB / 0.5424 GB, free: 5.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.4092, allocations: 307 kB / 0.5427 GB, free: 5.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4093, allocations: 1.031 kB / 0.5427 GB, free: 5.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008599/0.4101, allocations: 379.6 kB / 0.5431 GB, free: 4.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.4102, allocations: 10.19 kB / 0.5431 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/0.4102, allocations: 32.89 kB / 0.5431 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4103, allocations: 2.688 kB / 0.5431 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.4105, allocations: 38.25 kB / 0.5432 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4105, allocations: 6.828 kB / 0.5432 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.4108, allocations: 55.52 kB / 0.5432 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.4108, allocations: 16.28 kB / 0.5433 GB, free: 4.914 MB / 398.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.0002031/0.411, allocations: 185.7 kB / 0.5434 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4111, allocations: 47.66 kB / 0.5435 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.412, allocations: 384.8 kB / 0.5438 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.412, allocations: 4 kB / 0.5438 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.412, allocations: 0 / 0.5438 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.412, allocations: 3.984 kB / 0.5439 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.4126, allocations: 361.4 kB / 0.5442 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.566e-05/0.4126, allocations: 24 kB / 0.5442 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.4128, allocations: 27.97 kB / 0.5442 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.4128, allocations: 3.938 kB / 0.5443 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.4128, allocations: 23.92 kB / 0.5443 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4128, allocations: 0 / 0.5443 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4128, allocations: 4 kB / 0.5443 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.4137, allocations: 0.5679 MB / 0.5448 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4138, allocations: 136.6 kB / 0.545 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.4139, allocations: 4 kB / 0.545 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.4142, allocations: 19.97 kB / 0.545 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.4142, allocations: 19.98 kB / 0.545 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4143, allocations: 8 kB / 0.545 GB, free: 3.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003848/0.4147, allocations: 379 kB / 0.5454 GB, free: 2.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4147, allocations: 4 kB / 0.5454 GB, free: 2.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005233/0.4152, allocations: 115.8 kB / 0.5455 GB, free: 2.527 MB / 398.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.0003196/0.4155, allocations: 163 kB / 0.5456 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.4164, allocations: 0.5185 MB / 0.5461 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4164, allocations: 0 / 0.5461 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.417, allocations: 387.5 kB / 0.5465 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.4177, allocations: 100.4 kB / 0.5466 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.4192, allocations: 0.824 MB / 0.5474 GB, free: 412 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.4197, allocations: 0.8534 MB / 0.5483 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.4198, allocations: 67.23 kB / 0.5483 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.4199, allocations: 27.44 kB / 0.5483 GB, free: 15.43 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4199, allocations: 0 / 0.5483 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Templates: time 0.01237/0.4323, allocations: 7.321 MB / 0.5555 GB, free: 8.199 MB / 414.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 -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/jenkins/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/jenkins/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