Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001468/0.001468, allocations: 101.8 kB / 15.98 MB, free: 6.348 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.002078/0.002078, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.557/1.557, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3445/0.3445, allocations: 43.49 MB / 313.6 MB, free: 8.574 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.002582/0.002583, allocations: 63.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1351, allocations: 57.79 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003419/0.1386, allocations: 2.206 MB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1412, allocations: 1.808 MB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1414, allocations: 4 kB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1418, allocations: 55.72 kB / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.1424, allocations: 139.3 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.1433, allocations: 295 kB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000578/0.1439, allocations: 485.7 kB / 445.1 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.144, allocations: 64.97 kB / 445.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1442, allocations: 175.1 kB / 445.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.1445, allocations: 242.9 kB / 445.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.1445, allocations: 12 kB / 445.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007584/0.1453, allocations: 0.5498 MB / 446.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1454, allocations: 111.5 kB / 446.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1456, allocations: 194.6 kB / 446.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007484/0.1464, allocations: 0.7243 MB / 447.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1464, allocations: 0 / 447.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1464, allocations: 0 / 447.2 MB, free: 7.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1464, allocations: 0 / 447.2 MB, free: 7.539 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001202/0.1476, allocations: 0.7759 MB / 447.9 MB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1477, allocations: 12.03 kB / 447.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1478, allocations: 94.7 kB / 448 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.303e-05/0.1479, allocations: 52.36 kB / 448.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1482, allocations: 311.8 kB / 448.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.1483, allocations: 37 kB / 448.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/0.1483, allocations: 43.98 kB / 448.5 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1493, allocations: 0.7186 MB / 449.2 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1494, allocations: 0 / 449.2 MB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.1494, allocations: 19.98 kB / 449.2 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-05/0.1495, allocations: 53.28 kB / 449.3 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.1507, allocations: 0.7466 MB / 450 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1528, allocations: 1.434 MB / 451.4 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.1535, allocations: 456.4 kB / 451.9 MB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.1538, allocations: 157.2 kB / 452 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.1539, allocations: 12.45 kB / 452.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1539, allocations: 34.56 kB / 452.1 MB, free: 2.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.684e-06/0.1539, allocations: 0 / 452.1 MB, free: 2.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00107/0.155, allocations: 0.5481 MB / 452.6 MB, free: 1.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.155, allocations: 55.41 kB / 452.7 MB, free: 1.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.1556, allocations: 0.529 MB / 453.2 MB, free: 1.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1556, allocations: 29.7 kB / 453.3 MB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1558, allocations: 240.1 kB / 453.5 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.1559, allocations: 102.5 kB / 453.6 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.156, allocations: 98.05 kB / 453.7 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1561, allocations: 358.8 kB / 454 MB, free: 440 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.1564, allocations: 164.6 kB / 454.2 MB, free: 276 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2024/0.3588, allocations: 289.6 kB / 454.5 MB, free: 48.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/0.3597, allocations: 0.4914 MB / 455 MB, free: 48.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3597, allocations: 2.875 kB / 455 MB, free: 48.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009615/0.3607, allocations: 0.5305 MB / 455.5 MB, free: 48.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.3608, allocations: 8.469 kB / 455.5 MB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3608, allocations: 2.906 kB / 455.5 MB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.3608, allocations: 5.719 kB / 455.5 MB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/0.3618, allocations: 229 kB / 455.7 MB, free: 48.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.3641, allocations: 7.309 MB / 463 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.3645, allocations: 67.25 kB / 463.1 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3645, allocations: 24.28 kB / 463.1 MB, free: 41.44 MB / 382.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.0002757/0.3648, allocations: 232.9 kB / 463.4 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.3649, allocations: 47.03 kB / 463.4 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.3657, allocations: 0.552 MB / 464 MB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3658, allocations: 2.938 kB / 464 MB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3658, allocations: 2.188 kB / 464 MB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3658, allocations: 2.688 kB / 464 MB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.3662, allocations: 428.8 kB / 464.4 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3662, allocations: 5.484 kB / 464.4 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.367, allocations: 202.6 kB / 464.6 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.367, allocations: 3.094 kB / 464.6 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.367, allocations: 12.73 kB / 464.6 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.3691, allocations: 7.3 MB / 471.9 MB, free: 34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3691, allocations: 0 / 471.9 MB, free: 34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.3697, allocations: 0.5076 MB / 472.4 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.3698, allocations: 124.4 kB / 472.5 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.3699, allocations: 7.75 kB / 472.5 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3701, allocations: 14.56 kB / 472.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.3702, allocations: 29.2 kB / 472.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.3703, allocations: 16.11 kB / 472.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003429/0.3706, allocations: 386.1 kB / 473 MB, free: 33.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3706, allocations: 0 / 473 MB, free: 33.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000548/0.3712, allocations: 166.8 kB / 473.1 MB, free: 33.61 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.001099/0.3723, allocations: 1.163 MB / 474.3 MB, free: 32.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.3736, allocations: 0.6096 MB / 474.9 MB, free: 32.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3737, allocations: 2.906 kB / 474.9 MB, free: 32.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.3745, allocations: 341.2 kB / 475.3 MB, free: 32.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.375, allocations: 99.09 kB / 475.3 MB, free: 32.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.3802, allocations: 5.565 MB / 480.9 MB, free: 30.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3805, allocations: 0.8999 MB / 481.8 MB, free: 29.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.3809, allocations: 143.7 kB / 482 MB, free: 29.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.381, allocations: 145.1 kB / 482.1 MB, free: 29.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.381, allocations: 0 / 482.1 MB, free: 29.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.82/1.201, allocations: 14.32 MB / 496.4 MB, free: 28.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.201, allocations: 282.8 kB / 496.7 MB, free: 27.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/3.244, allocations: 4 kB / 496.7 MB, free: 27.93 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches