Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 174.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007482/0.0007484, allocations: 92.97 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2973/0.2973, allocations: 43.56 MB / 363.1 MB, free: 52.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.000427, allocations: 12 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 58.84 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.001744/0.1061, allocations: 1.375 MB / 492.3 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1078, allocations: 1.158 MB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.1079, allocations: 0 / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.1081, allocations: 31.83 kB / 493.5 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.1084, allocations: 63.78 kB / 493.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.1088, allocations: 147.4 kB / 493.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.1091, allocations: 207.2 kB / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.1092, allocations: 21.38 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.1093, allocations: 51.78 kB / 494 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1094, allocations: 87.66 kB / 494.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1095, allocations: 4 kB / 494.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1098, allocations: 159.7 kB / 494.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1098, allocations: 43.88 kB / 494.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.1099, allocations: 81.33 kB / 494.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1102, allocations: 167.8 kB / 494.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1102, allocations: 0 / 494.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1102, allocations: 0 / 494.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1102, allocations: 0 / 494.5 MB, free: 7.168 MB / 378.7 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.0006334/0.1108, allocations: 466.4 kB / 495 MB, free: 6.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1109, allocations: 8.031 kB / 495 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.1109, allocations: 50.72 kB / 495 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.1126, allocations: 192.5 kB / 495.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1129, allocations: 235.5 kB / 495.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1129, allocations: 12.38 kB / 495.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.113, allocations: 4.375 kB / 495.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.1136, allocations: 367.9 kB / 495.8 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1136, allocations: 7.875 kB / 495.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.1136, allocations: 7.984 kB / 495.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.1137, allocations: 19.98 kB / 495.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.1143, allocations: 383.6 kB / 496.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1158, allocations: 0.7851 MB / 497 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.1164, allocations: 354.2 kB / 497.4 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.1167, allocations: 120.8 kB / 497.5 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.1167, allocations: 11.97 kB / 497.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1168, allocations: 38.56 kB / 497.5 MB, free: 3.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1168, allocations: 0 / 497.5 MB, free: 3.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008965/0.1177, allocations: 441 kB / 498 MB, free: 3.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1177, allocations: 55.41 kB / 498 MB, free: 3.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.118, allocations: 230.3 kB / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.118, allocations: 25.7 kB / 498.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.1181, allocations: 119.9 kB / 498.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1181, allocations: 39.45 kB / 498.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.1182, allocations: 0 / 498.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1183, allocations: 330.8 kB / 498.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1186, allocations: 135.9 kB / 498.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.1189, allocations: 159 kB / 499 MB, free: 2.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.1195, allocations: 303 kB / 499.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1195, allocations: 0 / 499.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000666/0.1202, allocations: 365.5 kB / 499.7 MB, free: 1.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1202, allocations: 8 kB / 499.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1202, allocations: 0 / 499.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1202, allocations: 0 / 499.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02408/0.1443, allocations: 1.377 MB / 0.4893 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.204/0.3483, allocations: 11.33 MB / 0.5004 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.3487, allocations: 29.03 kB / 0.5004 GB, free: 35.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.3487, allocations: 17.28 kB / 0.5004 GB, free: 35.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.3489, allocations: 143.8 kB / 0.5006 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.3489, allocations: 14.69 kB / 0.5006 GB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.838e-05/0.349, allocations: 32.58 kB / 0.5006 GB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.349, allocations: 1.375 kB / 0.5006 GB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.349, allocations: 9.312 kB / 0.5006 GB, free: 35.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.349, allocations: 0 / 0.5006 GB, free: 35.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.3493, allocations: 283.7 kB / 0.5009 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3493, allocations: 0 / 0.5009 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02276/0.3721, allocations: 1.371 MB / 0.5022 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3721, allocations: 1.375 kB / 0.5022 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.3722, allocations: 15.91 kB / 0.5023 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03388/0.4061, allocations: 11.33 MB / 0.5133 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4061, allocations: 2.906 kB / 0.5133 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.4067, allocations: 430.3 kB / 0.5137 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.4068, allocations: 98.09 kB / 0.5138 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.4068, allocations: 3.438 kB / 0.5138 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.4071, allocations: 11.97 kB / 0.5138 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.4074, allocations: 59.84 kB / 0.5139 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.4074, allocations: 19.75 kB / 0.5139 GB, free: 26.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.4076, allocations: 166.9 kB / 0.5141 GB, free: 26.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4076, allocations: 0 / 0.5141 GB, free: 26.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.4082, allocations: 122.8 kB / 0.5142 GB, free: 26.63 MB / 378.7 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008337/0.4091, allocations: 0.9795 MB / 0.5152 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01856/0.4276, allocations: 1.248 MB / 0.5164 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.4277, allocations: 0 / 0.5164 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01806/0.4458, allocations: 1.114 MB / 0.5175 GB, free: 25.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.4462, allocations: 29.34 kB / 0.5175 GB, free: 25.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.4484, allocations: 1.528 MB / 0.519 GB, free: 25.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.4486, allocations: 0.7339 MB / 0.5197 GB, free: 24.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.4487, allocations: 40.81 kB / 0.5197 GB, free: 24.65 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4487, allocations: 0 / 0.5197 GB, free: 24.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.089/4.538, allocations: 7.843 MB / 0.5274 GB, free: 23.8 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_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/kc_overall_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches