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.001557/0.001557, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.09 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 80.16 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1124, allocations: 62.45 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003405/0.1158, allocations: 2.07 MB / 481.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1173, allocations: 0.8219 MB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1175, allocations: 7.938 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1178, allocations: 59.72 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.1183, allocations: 99.53 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1186, allocations: 63.8 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.1191, allocations: 314.6 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.1192, allocations: 36.38 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.1195, allocations: 135.4 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.1198, allocations: 159.2 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.1199, allocations: 8 kB / 483.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.1201, allocations: 127.8 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1203, allocations: 63.75 kB / 483.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.1204, allocations: 115.2 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.1209, allocations: 339 kB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1209, allocations: 0 / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1209, allocations: 0 / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.121, allocations: 0 / 484 MB, free: 1.066 MB / 350.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.0009852/0.1219, allocations: 0.5654 MB / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.122, allocations: 8.031 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/0.1221, allocations: 74.64 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.1222, allocations: 32.56 kB / 484.7 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1224, allocations: 251.1 kB / 484.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1225, allocations: 24.55 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1225, allocations: 20 kB / 485 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.1232, allocations: 393.2 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1232, allocations: 4 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.1232, allocations: 15.98 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.1233, allocations: 24.64 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.1239, allocations: 406.3 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1253, allocations: 0.8773 MB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.1259, allocations: 277.8 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.1261, allocations: 92.77 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.1262, allocations: 7.938 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1262, allocations: 42.55 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.1262, allocations: 0 / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.000764/0.127, allocations: 327.7 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1271, allocations: 63.33 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.1274, allocations: 343.2 kB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1275, allocations: 33.7 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1276, allocations: 164.2 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.1276, allocations: 55.36 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.1277, allocations: 45.7 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1279, allocations: 342.8 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1281, allocations: 87.91 kB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.1283, allocations: 141.9 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1288, allocations: 249.7 kB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1288, allocations: 0 / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005678/0.1293, allocations: 296.9 kB / 489.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1294, allocations: 10.5 kB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1294, allocations: 0 / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1294, allocations: 8.188 kB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.1299, allocations: 123.8 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.1319, allocations: 3.668 MB / 493 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.1321, allocations: 35.62 kB / 493 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1322, allocations: 11.98 kB / 493 MB, free: 7.629 MB / 366.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.0001805/0.1324, allocations: 169.8 kB / 493.2 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1324, allocations: 31.66 kB / 493.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.1331, allocations: 337.8 kB / 493.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1331, allocations: 4 kB / 493.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1331, allocations: 0 / 493.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1331, allocations: 0 / 493.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1335, allocations: 305.3 kB / 493.9 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1335, allocations: 3.938 kB / 493.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.134, allocations: 103.9 kB / 494 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.134, allocations: 4 kB / 494 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.134, allocations: 8 kB / 494 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.1358, allocations: 3.672 MB / 497.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1358, allocations: 4.062 kB / 497.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.1363, allocations: 347 kB / 498 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.1364, allocations: 100.8 kB / 498.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.1364, allocations: 4 kB / 498.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1366, allocations: 11.98 kB / 498.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.1366, allocations: 11.98 kB / 498.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1367, allocations: 19.92 kB / 498.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.1369, allocations: 249.9 kB / 498.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.1369, allocations: 4 kB / 498.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.1373, allocations: 87.84 kB / 498.5 MB, free: 1.945 MB / 366.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.0008634/0.1382, allocations: 0.8985 MB / 499.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008798/0.1391, allocations: 324 kB / 499.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1391, allocations: 0 / 499.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.1396, allocations: 191.7 kB / 499.9 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.1401, allocations: 64.53 kB / 499.9 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.1441, allocations: 3.456 MB / 0.4916 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1445, allocations: 0.8025 MB / 0.4924 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.1447, allocations: 70.2 kB / 0.4925 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1448, allocations: 79.41 kB / 0.4925 GB, free: 11.91 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1448, allocations: 0 / 0.4925 GB, free: 11.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.1657, allocations: 8.26 MB / 0.5006 GB, free: 3.934 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/0.166, allocations: 287.4 kB / 0.5009 GB, free: 3.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.197, allocations: 0 / 0.5009 GB, free: 3.559 MB / 382.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