Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Nu_4.1.|Nu_4.2.|Nu_4.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.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.09 MB / 344.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 80.11 kB / 482 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3666, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003733/0.3704, allocations: 2.224 MB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.3725, allocations: 1.179 MB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.3726, allocations: 2.75 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.373, allocations: 62.73 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.3733, allocations: 111.9 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.3739, allocations: 188 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.3745, allocations: 0.492 MB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3746, allocations: 58.17 kB / 0.5359 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.3749, allocations: 180 kB / 0.5361 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3752, allocations: 198.7 kB / 0.5363 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.3752, allocations: 22.36 kB / 0.5363 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/0.3758, allocations: 332.1 kB / 0.5366 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.376, allocations: 101 kB / 0.5367 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3762, allocations: 191.2 kB / 0.5369 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.377, allocations: 0.5818 MB / 0.5374 GB, free: 9.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.377, allocations: 0 / 0.5374 GB, free: 9.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.377, allocations: 1.344 kB / 0.5374 GB, free: 9.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.377, allocations: 0 / 0.5374 GB, free: 9.352 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001434/0.3785, allocations: 0.7601 MB / 0.5382 GB, free: 8.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.3785, allocations: 9.219 kB / 0.5382 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.379, allocations: 75.88 kB / 0.5383 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3794, allocations: 301.1 kB / 0.5386 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.3795, allocations: 35.5 kB / 0.5386 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/0.3796, allocations: 53.56 kB / 0.5386 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3807, allocations: 0.6548 MB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3807, allocations: 1.5 kB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.3808, allocations: 19 kB / 0.5393 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.3808, allocations: 26.73 kB / 0.5393 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.3818, allocations: 485.2 kB / 0.5398 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.3841, allocations: 1.503 MB / 0.5413 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.3847, allocations: 308.2 kB / 0.5415 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.385, allocations: 153.3 kB / 0.5417 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.276e-05/0.3851, allocations: 13.58 kB / 0.5417 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3851, allocations: 32.75 kB / 0.5417 GB, free: 6.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.3851, allocations: 0 / 0.5417 GB, free: 6.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001308/0.3865, allocations: 0.5017 MB / 0.5422 GB, free: 6.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.3865, allocations: 109 kB / 0.5423 GB, free: 5.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.3873, allocations: 0.5364 MB / 0.5429 GB, free: 5.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.3873, allocations: 30.77 kB / 0.5429 GB, free: 5.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.3876, allocations: 236.5 kB / 0.5431 GB, free: 5.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.3877, allocations: 68.31 kB / 0.5432 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.3878, allocations: 84.75 kB / 0.5433 GB, free: 5.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.388, allocations: 356 kB / 0.5436 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.3884, allocations: 150.4 kB / 0.5437 GB, free: 4.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.3888, allocations: 283.3 kB / 0.544 GB, free: 4.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.3896, allocations: 446.9 kB / 0.5444 GB, free: 4.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3897, allocations: 0 / 0.5444 GB, free: 4.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001019/0.3907, allocations: 0.5013 MB / 0.5449 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3907, allocations: 4 kB / 0.5449 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.872e-05/0.3908, allocations: 48.45 kB / 0.545 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.3908, allocations: 11.94 kB / 0.545 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.3911, allocations: 51.88 kB / 0.545 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3911, allocations: 4 kB / 0.545 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.3915, allocations: 75.19 kB / 0.5451 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.3915, allocations: 27.94 kB / 0.5451 GB, free: 3.488 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002584/0.3918, allocations: 205.7 kB / 0.5453 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3919, allocations: 47.44 kB / 0.5454 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.3928, allocations: 441.1 kB / 0.5458 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3928, allocations: 11.94 kB / 0.5458 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3928, allocations: 0 / 0.5458 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3928, allocations: 0 / 0.5458 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006177/0.3935, allocations: 393.2 kB / 0.5462 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.289e-05/0.3935, allocations: 39.98 kB / 0.5462 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3937, allocations: 23.97 kB / 0.5462 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3937, allocations: 4 kB / 0.5463 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.3937, allocations: 12 kB / 0.5463 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3937, allocations: 3.938 kB / 0.5463 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3937, allocations: 4 kB / 0.5463 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.3946, allocations: 0.6015 MB / 0.5469 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3948, allocations: 128.5 kB / 0.547 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.3948, allocations: 3.984 kB / 0.547 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3951, allocations: 23.92 kB / 0.547 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.3952, allocations: 23.97 kB / 0.547 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.3953, allocations: 16 kB / 0.547 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004481/0.3957, allocations: 395 kB / 0.5474 GB, free: 1.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3957, allocations: 0 / 0.5474 GB, free: 1.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006222/0.3964, allocations: 135.8 kB / 0.5476 GB, free: 0.9219 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003369/0.3967, allocations: 163 kB / 0.5477 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3977, allocations: 0.6637 MB / 0.5484 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3978, allocations: 4.188 kB / 0.5484 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.3983, allocations: 480.2 kB / 0.5488 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.3991, allocations: 117.9 kB / 0.5489 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.4008, allocations: 0.9303 MB / 0.5498 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.4013, allocations: 0.8582 MB / 0.5507 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.477e-05/0.4014, allocations: 35.42 kB / 0.5507 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4014, allocations: 0 / 0.5507 GB, free: 13.46 MB / 414.1 MB Notification: Performance of Templates: time 0.01238/0.4138, allocations: 8.291 MB / 0.5588 GB, free: 5.23 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches