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.001128/0.001128, allocations: 106 kB / 15.98 MB, free: 6.34 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.001082/0.001082, allocations: 194.3 kB / 16.91 MB, free: 6.184 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.405/1.405, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3917/0.3917, allocations: 43.49 MB / 313.6 MB, free: 8.551 MB / 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.001759/0.001759, allocations: 72.45 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1606, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.003762/0.1645, allocations: 1.738 MB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1663, allocations: 1.263 MB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.1664, allocations: 0 / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.1667, allocations: 39.81 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.167, allocations: 59.78 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.1674, allocations: 171.4 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1677, allocations: 155.4 kB / 443.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.1677, allocations: 17.61 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.1678, allocations: 55.83 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.168, allocations: 91.59 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.168, allocations: 4 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1683, allocations: 163.7 kB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.1684, allocations: 51.81 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.931e-05/0.1684, allocations: 67.55 kB / 444 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1688, allocations: 235.2 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1688, allocations: 4 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1688, allocations: 3.938 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1689, allocations: 0 / 444.2 MB, free: 10.49 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.0007999/0.1697, allocations: 478.7 kB / 444.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1697, allocations: 15.89 kB / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.1698, allocations: 50.72 kB / 444.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.1718, allocations: 192.5 kB / 445 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1721, allocations: 236 kB / 445.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1722, allocations: 8.375 kB / 445.2 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1722, allocations: 8.312 kB / 445.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.1729, allocations: 371.7 kB / 445.6 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.173, allocations: 0 / 445.6 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.173, allocations: 4 kB / 445.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.173, allocations: 19.98 kB / 445.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.1737, allocations: 367.5 kB / 445.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1753, allocations: 0.793 MB / 446.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.176, allocations: 346.1 kB / 447.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.1763, allocations: 120.8 kB / 447.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.1763, allocations: 11.98 kB / 447.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1763, allocations: 34.56 kB / 447.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1764, allocations: 0 / 447.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009783/0.1773, allocations: 425 kB / 447.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1774, allocations: 55.39 kB / 447.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1776, allocations: 222.4 kB / 447.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.1777, allocations: 29.7 kB / 448 MB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1778, allocations: 119.9 kB / 448.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.1779, allocations: 47.3 kB / 448.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.178, allocations: 57.64 kB / 448.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1781, allocations: 326.8 kB / 448.5 MB, free: 5.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.1784, allocations: 123.8 kB / 448.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.1787, allocations: 151.3 kB / 448.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.1792, allocations: 291 kB / 449 MB, free: 5.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1792, allocations: 0 / 449 MB, free: 5.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006697/0.1799, allocations: 353.1 kB / 449.4 MB, free: 5.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1799, allocations: 8 kB / 449.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1799, allocations: 0 / 449.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.18, allocations: 112 / 449.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02645/0.2064, allocations: 1.467 MB / 450.9 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3207/0.5272, allocations: 12.33 MB / 463.2 MB, free: 42.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.5277, allocations: 22.92 kB / 463.2 MB, free: 42.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.5277, allocations: 15.84 kB / 463.2 MB, free: 42.52 MB / 382.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.0001873/0.5279, allocations: 148 kB / 463.4 MB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.528, allocations: 16.34 kB / 463.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.705e-05/0.5281, allocations: 33.72 kB / 463.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5281, allocations: 6.438 kB / 463.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5281, allocations: 0 / 463.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5281, allocations: 0 / 463.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.5284, allocations: 293.4 kB / 463.7 MB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5285, allocations: 0 / 463.7 MB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02592/0.5544, allocations: 1.46 MB / 465.2 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.5544, allocations: 0 / 465.2 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/0.5546, allocations: 12.72 kB / 465.2 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03935/0.5939, allocations: 12.33 MB / 477.5 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.594, allocations: 0 / 477.5 MB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.5946, allocations: 421.9 kB / 477.9 MB, free: 33.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.5947, allocations: 96.09 kB / 478 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.5947, allocations: 4.062 kB / 478 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.5951, allocations: 9.125 kB / 478 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.5953, allocations: 61.33 kB / 478.1 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.5953, allocations: 17.34 kB / 478.1 MB, free: 33.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.5955, allocations: 170 kB / 478.3 MB, free: 33.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5955, allocations: 3.562 kB / 478.3 MB, free: 33.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007616/0.5963, allocations: 121 kB / 478.4 MB, free: 33.23 MB / 382.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.0008766/0.5972, allocations: 0.9769 MB / 479.4 MB, free: 32.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02238/0.6196, allocations: 1.427 MB / 480.8 MB, free: 32.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/0.6196, allocations: 0 / 480.8 MB, free: 32.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.02216/0.6418, allocations: 1.281 MB / 482.1 MB, free: 32.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.6423, allocations: 36.31 kB / 482.1 MB, free: 32.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.6462, allocations: 2.764 MB / 484.9 MB, free: 31.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.6464, allocations: 0.7377 MB / 485.6 MB, free: 30.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.6466, allocations: 48.28 kB / 485.7 MB, free: 30.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.6467, allocations: 51.33 kB / 485.7 MB, free: 30.38 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6467, allocations: 0 / 485.7 MB, free: 30.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.6737, allocations: 8.327 MB / 494 MB, free: 29.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.6741, allocations: 273.4 kB / 494.3 MB, free: 29.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/2.75, allocations: 3.562 kB / 494.3 MB, free: 29.11 MB / 382.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","../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