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.001133/0.001133, allocations: 118.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001427, allocations: 75.88 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3109, allocations: 62.43 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003714/0.3146, allocations: 2.009 MB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3162, allocations: 0.8394 MB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.3164, allocations: 3.312 kB / 0.5345 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.3168, allocations: 69.19 kB / 0.5345 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.3173, allocations: 125.4 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3176, allocations: 64.7 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.318, allocations: 312.8 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.549e-05/0.318, allocations: 33.02 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.3183, allocations: 134.5 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.3186, allocations: 147.8 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.3186, allocations: 8.25 kB / 0.5353 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.3189, allocations: 124.4 kB / 0.5355 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.319, allocations: 70.8 kB / 0.5355 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3192, allocations: 114 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.3197, allocations: 347.4 kB / 0.536 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3197, allocations: 0 / 0.536 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3198, allocations: 0 / 0.536 GB, free: 10.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.3198, allocations: 5 kB / 0.536 GB, free: 10.4 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.001064/0.3208, allocations: 0.5652 MB / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3209, allocations: 8.844 kB / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.321, allocations: 30.41 kB / 0.5366 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3213, allocations: 254.2 kB / 0.5368 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3213, allocations: 26.81 kB / 0.5368 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.3214, allocations: 24.92 kB / 0.5368 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.3221, allocations: 393.4 kB / 0.5372 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3221, allocations: 0 / 0.5372 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.3221, allocations: 14.23 kB / 0.5372 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.3222, allocations: 25.95 kB / 0.5373 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.323, allocations: 410.8 kB / 0.5376 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.3244, allocations: 0.879 MB / 0.5385 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/0.325, allocations: 269.3 kB / 0.5388 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.3252, allocations: 96.2 kB / 0.5389 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.3253, allocations: 5.344 kB / 0.5389 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3253, allocations: 36.16 kB / 0.5389 GB, free: 8.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.3253, allocations: 0 / 0.5389 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007634/0.3261, allocations: 344 kB / 0.5392 GB, free: 8.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3261, allocations: 52.84 kB / 0.5393 GB, free: 8.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.3265, allocations: 346.4 kB / 0.5396 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3266, allocations: 39.02 kB / 0.5396 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3267, allocations: 162.6 kB / 0.5398 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.3267, allocations: 54.27 kB / 0.5398 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.3268, allocations: 47.14 kB / 0.5399 GB, free: 7.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.327, allocations: 342.7 kB / 0.5402 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.3272, allocations: 91.22 kB / 0.5403 GB, free: 7.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3274, allocations: 146.8 kB / 0.5404 GB, free: 7.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.3279, allocations: 249.2 kB / 0.5407 GB, free: 7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3279, allocations: 0 / 0.5407 GB, free: 7 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000559/0.3285, allocations: 304.4 kB / 0.541 GB, free: 6.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3285, allocations: 6.344 kB / 0.541 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3285, allocations: 5.25 kB / 0.541 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3285, allocations: 3.281 kB / 0.541 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.3291, allocations: 112.6 kB / 0.5411 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.331, allocations: 3.672 MB / 0.5447 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.3313, allocations: 34.2 kB / 0.5447 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3313, allocations: 12.45 kB / 0.5447 GB, free: 3.141 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.0001918/0.3315, allocations: 178.4 kB / 0.5449 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.3316, allocations: 31.53 kB / 0.5449 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.3322, allocations: 325 kB / 0.5452 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3323, allocations: 0 / 0.5452 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3323, allocations: 0 / 0.5452 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3324, allocations: 107.3 kB / 0.5453 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.3324, allocations: 1.188 kB / 0.5453 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3326, allocations: 8.75 kB / 0.5453 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3327, allocations: 15.03 kB / 0.5454 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001087/0.3338, allocations: 491.8 kB / 0.5458 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007734/0.3346, allocations: 0.5523 MB / 0.5464 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002091/0.3348, allocations: 96.64 kB / 0.5465 GB, free: 1.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.3351, allocations: 255.8 kB / 0.5467 GB, free: 1.812 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3351, allocations: 5.312 kB / 0.5467 GB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3362, allocations: 322.6 kB / 0.547 GB, free: 1.488 MB / 398.1 MB Notification: Performance of SimCode: time 0.001131/0.3374, allocations: 1.086 MB / 0.5481 GB, free: 368 kB / 398.1 MB Notification: Performance of Templates: time 0.009882/0.3473, allocations: 5.573 MB / 0.5535 GB, free: 10.87 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