Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 111.7 kB / 19.69 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 222.8 kB / 23.01 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.24 MB / 330.3 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 71.84 kB / 467.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1192, allocations: 61.04 MB / 0.5162 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.003752/0.1229, allocations: 1.845 MB / 0.518 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1253, allocations: 1.531 MB / 0.5195 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.1254, allocations: 0 / 0.5195 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1256, allocations: 39.7 kB / 0.5195 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1259, allocations: 79.52 kB / 0.5196 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.1266, allocations: 243 kB / 0.5198 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1269, allocations: 211.2 kB / 0.52 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.1269, allocations: 9.734 kB / 0.52 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1271, allocations: 91.61 kB / 0.5201 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.1273, allocations: 103.6 kB / 0.5202 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1273, allocations: 8 kB / 0.5202 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.1277, allocations: 219.6 kB / 0.5204 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.1278, allocations: 59.75 kB / 0.5205 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.1279, allocations: 79.53 kB / 0.5206 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.1285, allocations: 306.8 kB / 0.5208 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1285, allocations: 0 / 0.5208 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1285, allocations: 0 / 0.5208 GB, free: 2.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1285, allocations: 0 / 0.5208 GB, free: 2.492 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001067/0.1296, allocations: 481.1 kB / 0.5213 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1296, allocations: 12.03 kB / 0.5213 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.1297, allocations: 46.73 kB / 0.5214 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.1297, allocations: 20.8 kB / 0.5214 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.13, allocations: 167.2 kB / 0.5215 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.13, allocations: 16.59 kB / 0.5216 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.13, allocations: 8.375 kB / 0.5216 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.1306, allocations: 270.8 kB / 0.5218 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1306, allocations: 0 / 0.5218 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1306, allocations: 11.98 kB / 0.5218 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.1306, allocations: 8.234 kB / 0.5218 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/0.1312, allocations: 232.4 kB / 0.5221 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1324, allocations: 0.7818 MB / 0.5228 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.1328, allocations: 187.7 kB / 0.523 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.133, allocations: 94.48 kB / 0.5231 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1331, allocations: 4 kB / 0.5231 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.1331, allocations: 42.69 kB / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1331, allocations: 0 / 0.5231 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009539/0.1341, allocations: 325.4 kB / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.1341, allocations: 106.8 kB / 0.5236 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1344, allocations: 256.9 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1345, allocations: 29.7 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1346, allocations: 132 kB / 0.524 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.1346, allocations: 43.64 kB / 0.524 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.1347, allocations: 33.7 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1348, allocations: 342.8 kB / 0.5244 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.1351, allocations: 91.89 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1354, allocations: 129 kB / 0.5246 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.1359, allocations: 232.8 kB / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1359, allocations: 0 / 0.5248 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006496/0.1366, allocations: 269.2 kB / 0.525 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.1366, allocations: 13.34 kB / 0.5251 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.1366, allocations: 16.16 kB / 0.5251 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1367, allocations: 0 / 0.5251 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1369, allocations: 39.89 kB / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1369, allocations: 4 kB / 0.5251 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.1371, allocations: 39.81 kB / 0.5252 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1371, allocations: 7.938 kB / 0.5252 GB, free: 13.79 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.0001581/0.1373, allocations: 145.7 kB / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.1374, allocations: 20.38 kB / 0.5253 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.1379, allocations: 219.2 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1379, allocations: 4 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1379, allocations: 0 / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1379, allocations: 3.938 kB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.1383, allocations: 240.5 kB / 0.5258 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.1383, allocations: 8 kB / 0.5258 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1385, allocations: 31.97 kB / 0.5258 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1385, allocations: 0 / 0.5258 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1385, allocations: 7.984 kB / 0.5258 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1385, allocations: 0 / 0.5258 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1385, allocations: 4 kB / 0.5258 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.1392, allocations: 493.6 kB / 0.5263 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1393, allocations: 15.91 kB / 0.5263 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1393, allocations: 0 / 0.5263 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.1396, allocations: 23.97 kB / 0.5263 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.1396, allocations: 15.92 kB / 0.5263 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1397, allocations: 7.984 kB / 0.5263 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.1399, allocations: 192.5 kB / 0.5265 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1399, allocations: 0 / 0.5265 GB, free: 12.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.1403, allocations: 95.67 kB / 0.5266 GB, free: 12.21 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.001391/0.1417, allocations: 1.117 MB / 0.5277 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.1424, allocations: 293 kB / 0.528 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1424, allocations: 0 / 0.528 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.1427, allocations: 176.9 kB / 0.5282 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.1432, allocations: 44.53 kB / 0.5282 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.1473, allocations: 2.82 MB / 0.531 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.1478, allocations: 0.7476 MB / 0.5317 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.1479, allocations: 37.45 kB / 0.5317 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.148, allocations: 47.42 kB / 0.5318 GB, free: 6.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.148, allocations: 4 kB / 0.5318 GB, free: 6.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.245/0.3931, allocations: 6.864 MB / 0.5385 GB, free: 29.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.47, allocations: 8.719 kB / 0.5385 GB, free: 29.46 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 14.441367327002808]