Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001678/0.001678, allocations: 113 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.002039/0.002038, allocations: 212.9 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.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.1 MB / 345 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 76.16 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3691, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003541/0.3727, allocations: 2.013 MB / 0.5336 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3743, allocations: 0.832 MB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.3744, allocations: 1.594 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3747, allocations: 74.69 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.3751, allocations: 126.2 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3753, allocations: 63.03 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.3758, allocations: 309.6 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.3759, allocations: 44.92 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.3762, allocations: 134.5 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3764, allocations: 143.8 kB / 0.5353 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.3764, allocations: 8.25 kB / 0.5353 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.3767, allocations: 132.2 kB / 0.5355 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.3769, allocations: 67 kB / 0.5355 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.377, allocations: 113.8 kB / 0.5356 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.3776, allocations: 340.8 kB / 0.5359 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3776, allocations: 0 / 0.5359 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.177e-06/0.3776, allocations: 0 / 0.5359 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3776, allocations: 5.062 kB / 0.536 GB, free: 10.48 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009864/0.3786, allocations: 0.5614 MB / 0.5365 GB, free: 9.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3786, allocations: 9.562 kB / 0.5365 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.3787, allocations: 30.38 kB / 0.5365 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.379, allocations: 247.2 kB / 0.5368 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3791, allocations: 23.25 kB / 0.5368 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.3791, allocations: 25.14 kB / 0.5368 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007113/0.3798, allocations: 393.3 kB / 0.5372 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.3799, allocations: 0 / 0.5372 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3799, allocations: 10.59 kB / 0.5372 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/0.38, allocations: 34.09 kB / 0.5372 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.3808, allocations: 410 kB / 0.5376 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.3823, allocations: 0.8666 MB / 0.5385 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.383, allocations: 278.2 kB / 0.5387 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3832, allocations: 90.22 kB / 0.5388 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.3832, allocations: 11.08 kB / 0.5388 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3833, allocations: 31.97 kB / 0.5389 GB, free: 8.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3833, allocations: 0 / 0.5389 GB, free: 8.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007918/0.3841, allocations: 341.9 kB / 0.5392 GB, free: 8.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.3842, allocations: 53.59 kB / 0.5392 GB, free: 8.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.3847, allocations: 346.5 kB / 0.5396 GB, free: 7.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3847, allocations: 30.83 kB / 0.5396 GB, free: 7.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3849, allocations: 162.8 kB / 0.5398 GB, free: 7.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.547e-05/0.385, allocations: 50.39 kB / 0.5398 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.3851, allocations: 46.64 kB / 0.5399 GB, free: 7.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3852, allocations: 342.7 kB / 0.5402 GB, free: 7.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3854, allocations: 103 kB / 0.5403 GB, free: 7.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3857, allocations: 131.9 kB / 0.5404 GB, free: 7.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.3861, allocations: 243.9 kB / 0.5406 GB, free: 7.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3861, allocations: 1.219 kB / 0.5406 GB, free: 7.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005945/0.3867, allocations: 316 kB / 0.5409 GB, free: 6.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3868, allocations: 5.75 kB / 0.5409 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3868, allocations: 5.312 kB / 0.541 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3868, allocations: 3.5 kB / 0.541 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.3874, allocations: 109 kB / 0.5411 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.3898, allocations: 3.672 MB / 0.5446 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.39, allocations: 34.38 kB / 0.5447 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.3901, allocations: 12.2 kB / 0.5447 GB, free: 3.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.3903, allocations: 177.7 kB / 0.5449 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.3904, allocations: 28.12 kB / 0.5449 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006942/0.3911, allocations: 324.2 kB / 0.5452 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3911, allocations: 2.25 kB / 0.5452 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3911, allocations: 0 / 0.5452 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3911, allocations: 1 kB / 0.5452 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.3916, allocations: 308.4 kB / 0.5455 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3916, allocations: 4 kB / 0.5455 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.392, allocations: 115.8 kB / 0.5456 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3921, allocations: 0 / 0.5456 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.3921, allocations: 8.125 kB / 0.5456 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.3941, allocations: 3.67 MB / 0.5492 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3941, allocations: 0 / 0.5492 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.3947, allocations: 353.8 kB / 0.5495 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.3948, allocations: 107.9 kB / 0.5496 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.3948, allocations: 1.094 kB / 0.5496 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.395, allocations: 8.406 kB / 0.5496 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.395, allocations: 22.5 kB / 0.5497 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3951, allocations: 5.344 kB / 0.5497 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002967/0.3954, allocations: 256.5 kB / 0.5499 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3954, allocations: 0 / 0.5499 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.3958, allocations: 75.22 kB / 0.55 GB, free: 14.37 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.396, allocations: 126.2 kB / 0.5501 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008374/0.3969, allocations: 311.9 kB / 0.5504 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3969, allocations: 0 / 0.5504 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.3975, allocations: 194.7 kB / 0.5506 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.3979, allocations: 72.27 kB / 0.5507 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.399, allocations: 0.6017 MB / 0.5512 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3993, allocations: 0.7948 MB / 0.552 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.3994, allocations: 23.44 kB / 0.552 GB, free: 12.21 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3994, allocations: 0 / 0.552 GB, free: 12.21 MB / 414.1 MB Notification: Performance of Templates: time 0.01423/0.4137, allocations: 11.21 MB / 0.563 GB, free: 1.016 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches