Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.0008161/0.0008162, allocations: 91.88 kB / 17.35 MB, free: 6.027 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.0008963/0.0008964, allocations: 178.5 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2049/0.2049, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 12 kB / 410.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 61.92 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002312/0.1277, allocations: 1.847 MB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1301, allocations: 1.76 MB / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.1302, allocations: 0 / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1305, allocations: 63.66 kB / 476.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1309, allocations: 139.4 kB / 476.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.1315, allocations: 287 kB / 476.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.1321, allocations: 0.6264 MB / 477.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.1322, allocations: 61.05 kB / 477.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1324, allocations: 171.1 kB / 477.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.1327, allocations: 226.9 kB / 477.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1327, allocations: 8 kB / 477.5 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.1335, allocations: 0.5498 MB / 478.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1336, allocations: 123.4 kB / 478.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1338, allocations: 212.3 kB / 478.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.1345, allocations: 0.7048 MB / 479.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1345, allocations: 0 / 479.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1345, allocations: 0 / 479.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1345, allocations: 0 / 479.1 MB, free: 6.406 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0009813/0.1355, allocations: 0.7001 MB / 479.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1355, allocations: 8.031 kB / 479.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.1356, allocations: 98.7 kB / 479.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.1357, allocations: 56.22 kB / 480 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1361, allocations: 311.8 kB / 480.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1361, allocations: 37 kB / 480.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.1362, allocations: 47.98 kB / 480.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.1371, allocations: 0.7148 MB / 481.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1372, allocations: 0 / 481.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.1372, allocations: 23.98 kB / 481.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/0.1373, allocations: 49.28 kB / 481.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.1384, allocations: 0.7584 MB / 481.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.1403, allocations: 1.43 MB / 483.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.141, allocations: 452.5 kB / 483.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.1413, allocations: 173.2 kB / 484 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.1413, allocations: 8.219 kB / 484 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1414, allocations: 34.78 kB / 484 MB, free: 1.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.1414, allocations: 0 / 484 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001029/0.1424, allocations: 0.556 MB / 484.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1424, allocations: 55.41 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.143, allocations: 0.5289 MB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.143, allocations: 29.7 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1432, allocations: 248.2 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/0.1433, allocations: 102.5 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.1434, allocations: 45.64 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1435, allocations: 354.8 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.1438, allocations: 168.6 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.1442, allocations: 309.3 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.1449, allocations: 0.4967 MB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1449, allocations: 0 / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008749/0.1458, allocations: 0.5477 MB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1458, allocations: 8 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1459, allocations: 4 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1459, allocations: 8.109 kB / 487.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/0.1468, allocations: 227.7 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.1504, allocations: 7.317 MB / 495 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.1507, allocations: 67.36 kB / 495 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.1508, allocations: 23.98 kB / 495.1 MB, free: 5.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.1511, allocations: 229.8 kB / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.1512, allocations: 43.44 kB / 495.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.1522, allocations: 0.564 MB / 495.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1522, allocations: 4 kB / 495.9 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1523, allocations: 0 / 495.9 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.1523, allocations: 3.984 kB / 495.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.1528, allocations: 421.2 kB / 496.3 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1528, allocations: 0 / 496.3 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.1536, allocations: 207.8 kB / 496.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1537, allocations: 0 / 496.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.1537, allocations: 23.92 kB / 496.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/0.1573, allocations: 7.298 MB / 0.492 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1573, allocations: 4.094 kB / 0.492 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.1581, allocations: 0.527 MB / 0.4926 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1582, allocations: 124.5 kB / 0.4927 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.1583, allocations: 12 kB / 0.4927 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1585, allocations: 15.92 kB / 0.4927 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.1586, allocations: 23.97 kB / 0.4927 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1586, allocations: 15.98 kB / 0.4927 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003928/0.159, allocations: 383 kB / 0.4931 GB, free: 11.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.159, allocations: 4 kB / 0.4931 GB, free: 11.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000585/0.1596, allocations: 163.8 kB / 0.4933 GB, free: 11.41 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/0.1609, allocations: 1.165 MB / 0.4944 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1623, allocations: 0.5707 MB / 0.495 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1623, allocations: 0 / 0.495 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.1633, allocations: 348.6 kB / 0.4953 GB, free: 9.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.1638, allocations: 81.86 kB / 0.4954 GB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.1703, allocations: 5.635 MB / 0.5009 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1707, allocations: 0.8936 MB / 0.5017 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003498/0.1711, allocations: 140.2 kB / 0.5019 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.1713, allocations: 139.4 kB / 0.502 GB, free: 2.215 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1713, allocations: 0 / 0.502 GB, free: 2.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.958/4.129, allocations: 13.74 MB / 0.5154 GB, free: 46.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/4.13, allocations: 289.6 kB / 0.5157 GB, free: 46.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/6.651, allocations: 0 / 0.5157 GB, free: 46.59 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches