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_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.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_KC,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 110.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2078/0.2078, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 68.47 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.003552/0.1349, allocations: 1.678 MB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1369, allocations: 1.29 MB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.1371, allocations: 0 / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1374, allocations: 35.83 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.1377, allocations: 63.7 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.1383, allocations: 183.2 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.1386, allocations: 151.3 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.1387, allocations: 21.38 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1388, allocations: 59.75 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.139, allocations: 71.69 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1391, allocations: 4 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.1394, allocations: 171.7 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.1395, allocations: 55.75 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.1396, allocations: 55.61 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.1401, allocations: 247.2 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1401, allocations: 4 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1401, allocations: 0 / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1402, allocations: 0 / 0.4914 GB, free: 8.152 MB / 382.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.000882/0.141, allocations: 470.7 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1411, allocations: 15.88 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.1412, allocations: 38.75 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.1429, allocations: 200.5 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1432, allocations: 248 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1433, allocations: 8.312 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.1433, allocations: 8.375 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.1439, allocations: 367.7 kB / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1439, allocations: 4 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.144, allocations: 0 / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.144, allocations: 15.98 kB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006504/0.1447, allocations: 367.6 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.1462, allocations: 0.7965 MB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.1469, allocations: 354.2 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.1472, allocations: 116.8 kB / 0.4943 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.1472, allocations: 4 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1473, allocations: 34.56 kB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1473, allocations: 3.938 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009701/0.1482, allocations: 433 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1483, allocations: 51.41 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1485, allocations: 222.4 kB / 0.495 GB, free: 4.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1485, allocations: 29.7 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.1486, allocations: 112 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.1487, allocations: 47.28 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1488, allocations: 57.66 kB / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1489, allocations: 330.8 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.1492, allocations: 123.8 kB / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.1495, allocations: 155.1 kB / 0.4958 GB, free: 3.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.15, allocations: 295 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1501, allocations: 0 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007164/0.1508, allocations: 357.6 kB / 0.4964 GB, free: 2.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1508, allocations: 10.59 kB / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.1508, allocations: 0 / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1509, allocations: 4 kB / 0.4964 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02325/0.1741, allocations: 1.455 MB / 0.4979 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03957/0.2137, allocations: 12.33 MB / 0.5099 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.2142, allocations: 23.86 kB / 0.5099 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.2143, allocations: 20.12 kB / 0.51 GB, free: 4.023 MB / 398.1 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 (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.0002578/0.2145, allocations: 145.7 kB / 0.5101 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/0.2146, allocations: 15.81 kB / 0.5101 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2148, allocations: 33.52 kB / 0.5101 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2148, allocations: 0 / 0.5101 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2148, allocations: 4 kB / 0.5101 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2148, allocations: 0 / 0.5101 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.2152, allocations: 297.2 kB / 0.5104 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2152, allocations: 0 / 0.5104 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02332/0.2385, allocations: 1.459 MB / 0.5118 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.2386, allocations: 3.938 kB / 0.5119 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.2386, allocations: 11.97 kB / 0.5119 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03832/0.277, allocations: 12.32 MB / 0.5239 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.277, allocations: 0 / 0.5239 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.2778, allocations: 423.2 kB / 0.5243 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.2779, allocations: 96.91 kB / 0.5244 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.2779, allocations: 4 kB / 0.5244 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.2782, allocations: 11.98 kB / 0.5244 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.2785, allocations: 55.86 kB / 0.5245 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.2785, allocations: 19.91 kB / 0.5245 GB, free: 4.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.2787, allocations: 175.1 kB / 0.5246 GB, free: 4.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2787, allocations: 0 / 0.5246 GB, free: 4.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007749/0.2795, allocations: 120 kB / 0.5248 GB, free: 3.902 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 (13): * Single equations (assignments): 7 * 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.001092/0.2806, allocations: 0.9737 MB / 0.5257 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.02001/0.3006, allocations: 1.408 MB / 0.5271 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.3006, allocations: 4 kB / 0.5271 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01921/0.3198, allocations: 1.279 MB / 0.5283 GB, free: 212 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3203, allocations: 35.92 kB / 0.5284 GB, free: 176 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2365/0.5569, allocations: 2.715 MB / 0.531 GB, free: 38.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.5571, allocations: 0.7415 MB / 0.5318 GB, free: 37.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.5572, allocations: 51.41 kB / 0.5318 GB, free: 37.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.5573, allocations: 47.48 kB / 0.5318 GB, free: 37.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5573, allocations: 2.719 kB / 0.5318 GB, free: 37.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.589, allocations: 8.712 MB / 0.5404 GB, free: 37.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.07, allocations: 11.34 kB / 0.5404 GB, free: 37.21 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches