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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 71.89 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.339, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003051/0.3421, allocations: 2.016 MB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3434, allocations: 0.8334 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.3435, allocations: 5.406 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.3437, allocations: 66.81 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3441, allocations: 122.8 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.3443, allocations: 61 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.3446, allocations: 312.5 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.856e-05/0.3447, allocations: 37.38 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.3449, allocations: 134.1 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3451, allocations: 143.8 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.3452, allocations: 12.23 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3454, allocations: 124.3 kB / 0.5343 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.3455, allocations: 71 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.3456, allocations: 109.8 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.346, allocations: 348.7 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.346, allocations: 1.375 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.346, allocations: 0 / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.346, allocations: 3.938 kB / 0.5348 GB, free: 10.25 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.0007712/0.3468, allocations: 0.5582 MB / 0.5353 GB, free: 9.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3469, allocations: 9.375 kB / 0.5354 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.844e-05/0.3469, allocations: 70.59 kB / 0.5354 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.347, allocations: 29.81 kB / 0.5354 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3473, allocations: 247.6 kB / 0.5357 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3473, allocations: 22.36 kB / 0.5357 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.3474, allocations: 21.88 kB / 0.5357 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.348, allocations: 392.8 kB / 0.5361 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.348, allocations: 0 / 0.5361 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.348, allocations: 14.2 kB / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.3481, allocations: 30.59 kB / 0.5361 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.3487, allocations: 411.2 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3501, allocations: 0.87 MB / 0.5374 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/0.3507, allocations: 272.3 kB / 0.5376 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.3509, allocations: 99.3 kB / 0.5377 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.3509, allocations: 1.812 kB / 0.5377 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.351, allocations: 36.45 kB / 0.5378 GB, free: 8.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.351, allocations: 0 / 0.5378 GB, free: 8.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007184/0.3517, allocations: 334.3 kB / 0.5381 GB, free: 7.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3517, allocations: 61.14 kB / 0.5382 GB, free: 7.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.3521, allocations: 346.8 kB / 0.5385 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3521, allocations: 29.7 kB / 0.5385 GB, free: 7.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3522, allocations: 163 kB / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.3523, allocations: 58.84 kB / 0.5387 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.3524, allocations: 54.42 kB / 0.5388 GB, free: 7.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3525, allocations: 342.7 kB / 0.5391 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.3527, allocations: 90.31 kB / 0.5392 GB, free: 7.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.3529, allocations: 139.4 kB / 0.5393 GB, free: 6.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.3534, allocations: 252.7 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3534, allocations: 0 / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000537/0.3539, allocations: 301.2 kB / 0.5399 GB, free: 6.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.354, allocations: 5.75 kB / 0.5399 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.354, allocations: 1.219 kB / 0.5399 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.354, allocations: 3.406 kB / 0.5399 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.3545, allocations: 120 kB / 0.54 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3566, allocations: 3.671 MB / 0.5436 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3568, allocations: 28.44 kB / 0.5436 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.3568, allocations: 12.73 kB / 0.5436 GB, free: 2.957 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.0002294/0.357, allocations: 176.9 kB / 0.5438 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.3571, allocations: 32.75 kB / 0.5438 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.3578, allocations: 327.8 kB / 0.5441 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3578, allocations: 1.719 kB / 0.5441 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3578, allocations: 1.156 kB / 0.5441 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3578, allocations: 0 / 0.5441 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.3582, allocations: 300.8 kB / 0.5444 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3582, allocations: 3.938 kB / 0.5444 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.3587, allocations: 115.7 kB / 0.5445 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3587, allocations: 0 / 0.5445 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.3587, allocations: 11.66 kB / 0.5445 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.3606, allocations: 3.671 MB / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3606, allocations: 0 / 0.5481 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.3611, allocations: 356 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/0.3612, allocations: 99.83 kB / 0.5485 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.3613, allocations: 5.328 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3614, allocations: 12.19 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.3615, allocations: 14.95 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3615, allocations: 13.27 kB / 0.5486 GB, free: 14.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.3618, allocations: 255.6 kB / 0.5488 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3618, allocations: 0 / 0.5488 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.3622, allocations: 77.16 kB / 0.5489 GB, free: 14.11 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.0009882/0.3632, allocations: 0.9024 MB / 0.5498 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008429/0.364, allocations: 317.3 kB / 0.5501 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3641, allocations: 0 / 0.5501 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.3646, allocations: 187.8 kB / 0.5503 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3651, allocations: 80.58 kB / 0.5503 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.3695, allocations: 3.369 MB / 0.5536 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.37, allocations: 0.8026 MB / 0.5544 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.3701, allocations: 62.22 kB / 0.5545 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3703, allocations: 79.41 kB / 0.5546 GB, free: 8.352 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3703, allocations: 3.938 kB / 0.5546 GB, free: 8.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.3978, allocations: 8.728 MB / 0.5631 GB, free: 15.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 4.875 kB / 0.5631 GB, free: 15.88 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > 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