Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.06 kB / 491.8 MB, free: 30.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1136, allocations: 64.27 MB / 0.543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003695/0.1173, allocations: 2.006 MB / 0.545 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1187, allocations: 0.81 MB / 0.5458 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.1188, allocations: 0 / 0.5458 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1191, allocations: 75.58 kB / 0.5459 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1194, allocations: 119.4 kB / 0.546 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1197, allocations: 67.73 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.1201, allocations: 318.5 kB / 0.5463 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.1202, allocations: 20.41 kB / 0.5464 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1204, allocations: 127.4 kB / 0.5465 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1206, allocations: 155.3 kB / 0.5466 GB, free: 428 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.1206, allocations: 8 kB / 0.5466 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1209, allocations: 131.8 kB / 0.5468 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.913e-05/0.121, allocations: 71.67 kB / 0.5468 GB, free: 216 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1211, allocations: 115.2 kB / 0.5469 GB, free: 100 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.1216, allocations: 342.7 kB / 0.5473 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1216, allocations: 0 / 0.5473 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1216, allocations: 0 / 0.5473 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1216, allocations: 0 / 0.5473 GB, free: 15.76 MB / 414.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.001047/0.1226, allocations: 0.5766 MB / 0.5478 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1227, allocations: 12.03 kB / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/0.1228, allocations: 70.7 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.1228, allocations: 32.75 kB / 0.5479 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1232, allocations: 248.2 kB / 0.5482 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1232, allocations: 12.56 kB / 0.5482 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.1232, allocations: 31.98 kB / 0.5482 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.1239, allocations: 393.2 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1239, allocations: 0 / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.1239, allocations: 12 kB / 0.5486 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.124, allocations: 28.64 kB / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.1248, allocations: 406.3 kB / 0.549 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.1262, allocations: 0.87 MB / 0.5499 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.1268, allocations: 274.2 kB / 0.5501 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.127, allocations: 92.77 kB / 0.5502 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.1271, allocations: 8.062 kB / 0.5502 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1271, allocations: 34.5 kB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.1271, allocations: 0 / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007771/0.1279, allocations: 337.2 kB / 0.5506 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1279, allocations: 55.41 kB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1283, allocations: 351.2 kB / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1283, allocations: 29.7 kB / 0.551 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1285, allocations: 156.3 kB / 0.5511 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.1285, allocations: 55.53 kB / 0.5512 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.1286, allocations: 53.64 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1288, allocations: 350.7 kB / 0.5516 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.129, allocations: 91.91 kB / 0.5517 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.1292, allocations: 139.4 kB / 0.5518 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1297, allocations: 247.8 kB / 0.552 GB, free: 10.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1297, allocations: 0 / 0.552 GB, free: 10.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005703/0.1303, allocations: 301.2 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1303, allocations: 8 kB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1303, allocations: 0 / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1303, allocations: 4 kB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.1308, allocations: 111.8 kB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.1333, allocations: 3.672 MB / 0.556 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.1335, allocations: 39.75 kB / 0.5561 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.1336, allocations: 11.94 kB / 0.5561 GB, free: 6.312 MB / 414.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.0002331/0.1338, allocations: 179.9 kB / 0.5562 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1338, allocations: 27.8 kB / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/0.1345, allocations: 326.1 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1345, allocations: 7.984 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1345, allocations: 0 / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1346, allocations: 4 kB / 0.5566 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.1349, allocations: 301.4 kB / 0.5569 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1349, allocations: 3.938 kB / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.1354, allocations: 107.9 kB / 0.557 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1354, allocations: 0 / 0.557 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1354, allocations: 8 kB / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/0.1378, allocations: 3.676 MB / 0.5606 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1378, allocations: 4 kB / 0.5606 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.1383, allocations: 351.3 kB / 0.5609 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.1385, allocations: 108.9 kB / 0.561 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.1385, allocations: 4 kB / 0.561 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1387, allocations: 7.984 kB / 0.561 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.1387, allocations: 15.98 kB / 0.5611 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1388, allocations: 4 kB / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.139, allocations: 261.9 kB / 0.5613 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.139, allocations: 0 / 0.5613 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.1394, allocations: 75.83 kB / 0.5614 GB, free: 0.6367 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.0009859/0.1404, allocations: 0.9182 MB / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.1412, allocations: 295.6 kB / 0.5626 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1412, allocations: 4 kB / 0.5626 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.1418, allocations: 188.2 kB / 0.5627 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1422, allocations: 64.53 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.1466, allocations: 3.384 MB / 0.5661 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.147, allocations: 0.8064 MB / 0.5669 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.1472, allocations: 62.22 kB / 0.567 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.1473, allocations: 79.41 kB / 0.567 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1473, allocations: 0 / 0.567 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.1808, allocations: 8.624 MB / 0.5755 GB, free: 2.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.96, allocations: 8 kB / 0.5755 GB, free: 2.324 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.137737065088004]