Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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.001652/0.001652, allocations: 119 kB / 18.5 MB, free: 4.602 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.001851/0.001851, allocations: 194.9 kB / 21.44 MB, free: 1.664 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.486/1.486, allocations: 225.6 MB / 249.8 MB, free: 3.719 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.2302/0.2302, allocations: 44.92 MB / 349.6 MB, free: 1.738 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.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 60.05 kB / 491.8 MB, free: 29.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1182, allocations: 64.26 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.003137/0.1213, allocations: 1.809 MB / 0.5448 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1235, allocations: 1.48 MB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.1236, allocations: 0 / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1238, allocations: 39.77 kB / 0.5463 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1241, allocations: 75.59 kB / 0.5464 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.1247, allocations: 242.9 kB / 0.5466 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.125, allocations: 211.2 kB / 0.5468 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/0.125, allocations: 21.48 kB / 0.5468 GB, free: 208 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1252, allocations: 83.62 kB / 0.5469 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1254, allocations: 103.6 kB / 0.547 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1254, allocations: 8 kB / 0.547 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1258, allocations: 215.7 kB / 0.5472 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.1259, allocations: 59.73 kB / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.126, allocations: 79.53 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.1265, allocations: 310.8 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1265, allocations: 0 / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1265, allocations: 4 kB / 0.5476 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1265, allocations: 0 / 0.5476 GB, free: 15.36 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001125/0.1276, allocations: 0.5413 MB / 0.5482 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1276, allocations: 8.031 kB / 0.5482 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.1277, allocations: 46.73 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.1278, allocations: 24.8 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.128, allocations: 232 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1281, allocations: 4.609 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1281, allocations: 12.38 kB / 0.5485 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.1286, allocations: 266.7 kB / 0.5487 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1287, allocations: 0 / 0.5487 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1287, allocations: 12 kB / 0.5487 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.1287, allocations: 12.22 kB / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.1293, allocations: 220.4 kB / 0.549 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1305, allocations: 0.8103 MB / 0.5498 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.1309, allocations: 191.6 kB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.1311, allocations: 94.48 kB / 0.55 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.1312, allocations: 7.984 kB / 0.55 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1312, allocations: 38.69 kB / 0.5501 GB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1312, allocations: 4 kB / 0.5501 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009596/0.1321, allocations: 317.2 kB / 0.5504 GB, free: 12.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.1322, allocations: 107 kB / 0.5505 GB, free: 12.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1325, allocations: 264.9 kB / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1325, allocations: 29.7 kB / 0.5508 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1326, allocations: 128 kB / 0.5509 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1327, allocations: 43.62 kB / 0.5509 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.1328, allocations: 33.7 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1329, allocations: 338.8 kB / 0.5513 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.1332, allocations: 95.89 kB / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.1335, allocations: 131.7 kB / 0.5515 GB, free: 11.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.134, allocations: 228.8 kB / 0.5517 GB, free: 10.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.134, allocations: 0 / 0.5517 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006508/0.1347, allocations: 277.6 kB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1347, allocations: 8 kB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.1347, allocations: 12.09 kB / 0.552 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1347, allocations: 3.938 kB / 0.552 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.135, allocations: 44.05 kB / 0.552 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.135, allocations: 4 kB / 0.552 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.1352, allocations: 35.86 kB / 0.5521 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.1352, allocations: 7.938 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.1353, allocations: 141.8 kB / 0.5522 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.1354, allocations: 19.86 kB / 0.5522 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.1359, allocations: 219.2 kB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1359, allocations: 4 kB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1359, allocations: 0 / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1359, allocations: 3.938 kB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.1364, allocations: 265.4 kB / 0.5527 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.1364, allocations: 15.94 kB / 0.5527 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1366, allocations: 27.97 kB / 0.5528 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1366, allocations: 0 / 0.5528 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.1366, allocations: 7.984 kB / 0.5528 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1366, allocations: 0 / 0.5528 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1366, allocations: 8 kB / 0.5528 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.1373, allocations: 485.7 kB / 0.5532 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.1374, allocations: 97.02 kB / 0.5533 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.1374, allocations: 3.984 kB / 0.5533 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1377, allocations: 23.97 kB / 0.5534 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.1377, allocations: 15.92 kB / 0.5534 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1378, allocations: 4 kB / 0.5534 GB, free: 9.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.138, allocations: 192.4 kB / 0.5536 GB, free: 8.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 0 / 0.5536 GB, free: 8.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004871/0.1384, allocations: 99.62 kB / 0.5536 GB, free: 8.758 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.1397, allocations: 1.113 MB / 0.5547 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006776/0.1404, allocations: 280.8 kB / 0.555 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1404, allocations: 0 / 0.555 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1407, allocations: 181.2 kB / 0.5552 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.1412, allocations: 46.06 kB / 0.5552 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.1454, allocations: 2.844 MB / 0.558 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.1458, allocations: 0.7475 MB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.146, allocations: 37.53 kB / 0.5588 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.1461, allocations: 51.41 kB / 0.5588 GB, free: 3.262 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1461, allocations: 0 / 0.5588 GB, free: 3.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.1755, allocations: 6.716 MB / 0.5654 GB, free: 12.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.243, allocations: 11.31 kB / 0.5654 GB, free: 12.71 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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: 11.383174177724868]