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.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.92 MB / 349.6 MB, free: 1.73 MB / 270.1 MB " [Timeout remaining time 180] 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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 58.84 kB / 491.8 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 64.26 MB / 0.543 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003627/0.1209, allocations: 2.227 MB / 0.5452 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1239, allocations: 2.056 MB / 0.5472 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.124, allocations: 7.938 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1243, allocations: 71.52 kB / 0.5473 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1245, allocations: 107.3 kB / 0.5474 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1256, allocations: 418.4 kB / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005739/0.1261, allocations: 0.5093 MB / 0.5483 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.1262, allocations: 41.38 kB / 0.5483 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1265, allocations: 175 kB / 0.5485 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.1267, allocations: 210.9 kB / 0.5487 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1268, allocations: 12 kB / 0.5487 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009494/0.1277, allocations: 0.6434 MB / 0.5493 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1278, allocations: 107.4 kB / 0.5494 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.128, allocations: 194.6 kB / 0.5496 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009848/0.129, allocations: 0.7937 MB / 0.5504 GB, free: 12.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.129, allocations: 4 kB / 0.5504 GB, free: 12.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.129, allocations: 0 / 0.5504 GB, free: 12.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.129, allocations: 0 / 0.5504 GB, free: 12.51 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001301/0.1303, allocations: 0.8177 MB / 0.5512 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1304, allocations: 8.031 kB / 0.5512 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.1305, allocations: 102.7 kB / 0.5513 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.1306, allocations: 56.61 kB / 0.5514 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.131, allocations: 303.6 kB / 0.5517 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.131, allocations: 37.38 kB / 0.5517 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.1311, allocations: 51.94 kB / 0.5517 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1322, allocations: 0.6923 MB / 0.5524 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1322, allocations: 0 / 0.5524 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1323, allocations: 16 kB / 0.5524 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.1323, allocations: 32.97 kB / 0.5525 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009385/0.1332, allocations: 0.4959 MB / 0.5529 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.1355, allocations: 1.512 MB / 0.5544 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.1361, allocations: 307.6 kB / 0.5547 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.1365, allocations: 150.4 kB / 0.5549 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.462e-05/0.1365, allocations: 16.11 kB / 0.5549 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1365, allocations: 38.56 kB / 0.5549 GB, free: 7.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.1365, allocations: 0 / 0.5549 GB, free: 7.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001259/0.1378, allocations: 0.5143 MB / 0.5554 GB, free: 7.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.1379, allocations: 110.8 kB / 0.5555 GB, free: 7.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.1385, allocations: 0.5565 MB / 0.5561 GB, free: 6.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1386, allocations: 29.7 kB / 0.5561 GB, free: 6.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1388, allocations: 240.5 kB / 0.5563 GB, free: 6.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.1388, allocations: 83.25 kB / 0.5564 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.139, allocations: 81.69 kB / 0.5565 GB, free: 6.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1391, allocations: 354.8 kB / 0.5568 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.1395, allocations: 151.8 kB / 0.557 GB, free: 5.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.1399, allocations: 252.7 kB / 0.5572 GB, free: 5.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.1407, allocations: 421.9 kB / 0.5576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1407, allocations: 0 / 0.5576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009841/0.1417, allocations: 491.5 kB / 0.5581 GB, free: 4.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1417, allocations: 11.88 kB / 0.5581 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.581e-05/0.1418, allocations: 47.92 kB / 0.5581 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1418, allocations: 4.438 kB / 0.5581 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.142, allocations: 43.95 kB / 0.5582 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.142, allocations: 7.938 kB / 0.5582 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.1423, allocations: 67.5 kB / 0.5582 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.1423, allocations: 19.98 kB / 0.5583 GB, free: 4.082 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002436/0.1426, allocations: 217.6 kB / 0.5585 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1427, allocations: 47.66 kB / 0.5585 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009276/0.1436, allocations: 461.5 kB / 0.559 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.1436, allocations: 4 kB / 0.559 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1436, allocations: 3.938 kB / 0.559 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1436, allocations: 3.938 kB / 0.559 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.1443, allocations: 405.3 kB / 0.5594 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.282e-05/0.1443, allocations: 51.92 kB / 0.5594 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.1445, allocations: 23.97 kB / 0.5594 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1445, allocations: 4 kB / 0.5594 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.1445, allocations: 16 kB / 0.5594 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1445, allocations: 0 / 0.5594 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1445, allocations: 3.938 kB / 0.5595 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.1455, allocations: 0.6191 MB / 0.5601 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.1456, allocations: 136.7 kB / 0.5602 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.1457, allocations: 4 kB / 0.5602 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.146, allocations: 15.98 kB / 0.5602 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.146, allocations: 31.91 kB / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.1461, allocations: 12 kB / 0.5602 GB, free: 1.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004624/0.1465, allocations: 410.8 kB / 0.5606 GB, free: 1.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1465, allocations: 4 kB / 0.5606 GB, free: 1.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006312/0.1472, allocations: 175.6 kB / 0.5608 GB, free: 1.367 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00159/0.1488, allocations: 1.297 MB / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1498, allocations: 0.6551 MB / 0.5627 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1498, allocations: 4 kB / 0.5627 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.1504, allocations: 488.2 kB / 0.5632 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.151, allocations: 101.7 kB / 0.5633 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/0.1587, allocations: 5.399 MB / 0.5686 GB, free: 9.102 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.1593, allocations: 0.8818 MB / 0.5694 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.1595, allocations: 75.34 kB / 0.5695 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.1597, allocations: 135.4 kB / 0.5696 GB, free: 7.984 MB / 430.1 MB Notification: Performance of SimCode: time 1.403e-06/0.1597, allocations: 0 / 0.5696 GB, free: 7.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.198, allocations: 14.13 MB / 0.5834 GB, free: 10.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.621/8.82, allocations: 3.938 kB / 0.5834 GB, free: 10.09 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mflow_test in file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.899198378901929]