Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 214.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.002507/0.002507, allocations: 83.86 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3286, allocations: 66.08 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003724/0.3324, allocations: 2.255 MB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.3358, allocations: 2.184 MB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.336, allocations: 0 / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.3363, allocations: 67.58 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.3366, allocations: 115.3 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.3378, allocations: 441.2 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.3385, allocations: 0.5132 MB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.3385, allocations: 21.28 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.3388, allocations: 191 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.3391, allocations: 206.9 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.3392, allocations: 16 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.3403, allocations: 0.6708 MB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3404, allocations: 99.47 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.3406, allocations: 202.6 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.3418, allocations: 0.811 MB / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3418, allocations: 0 / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3418, allocations: 4 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.3418, allocations: 0 / 0.5683 GB, free: 12.48 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.001354/0.3432, allocations: 0.754 MB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3432, allocations: 8.031 kB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.3433, allocations: 106.7 kB / 0.5692 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.3438, allocations: 84.58 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.3442, allocations: 262.5 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.3442, allocations: 41.36 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.3443, allocations: 51.94 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3454, allocations: 0.6922 MB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3454, allocations: 4 kB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.3455, allocations: 20 kB / 0.5703 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.3455, allocations: 24.98 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/0.3464, allocations: 499.8 kB / 0.5708 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.3487, allocations: 1.468 MB / 0.5722 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.3493, allocations: 307.6 kB / 0.5725 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.3497, allocations: 142.5 kB / 0.5727 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.494e-05/0.3497, allocations: 24.09 kB / 0.5727 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3498, allocations: 34.5 kB / 0.5727 GB, free: 7.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.3498, allocations: 0 / 0.5727 GB, free: 7.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001267/0.351, allocations: 0.5165 MB / 0.5732 GB, free: 7.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3511, allocations: 110.8 kB / 0.5733 GB, free: 7.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.3518, allocations: 0.5684 MB / 0.5739 GB, free: 6.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3518, allocations: 29.7 kB / 0.5739 GB, free: 6.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.352, allocations: 232.4 kB / 0.5741 GB, free: 6.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/0.3521, allocations: 83.27 kB / 0.5742 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3522, allocations: 81.64 kB / 0.5743 GB, free: 6.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3524, allocations: 362.8 kB / 0.5746 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.3527, allocations: 147.8 kB / 0.5748 GB, free: 5.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.3532, allocations: 265.5 kB / 0.575 GB, free: 5.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007825/0.354, allocations: 427.4 kB / 0.5754 GB, free: 4.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.354, allocations: 4 kB / 0.5755 GB, free: 4.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009712/0.3549, allocations: 488.7 kB / 0.5759 GB, free: 4.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.355, allocations: 11.94 kB / 0.5759 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.372e-05/0.355, allocations: 39.98 kB / 0.576 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.3551, allocations: 8 kB / 0.576 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3553, allocations: 31.91 kB / 0.576 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3553, allocations: 8.391 kB / 0.576 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3556, allocations: 71.48 kB / 0.5761 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.3556, allocations: 23.98 kB / 0.5761 GB, free: 4.188 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.0002569/0.3559, allocations: 213.6 kB / 0.5763 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.356, allocations: 51.61 kB / 0.5764 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.3569, allocations: 465.5 kB / 0.5768 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3569, allocations: 11.98 kB / 0.5768 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.3569, allocations: 4 kB / 0.5768 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3569, allocations: 3.938 kB / 0.5768 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.3576, allocations: 376.3 kB / 0.5772 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-05/0.3576, allocations: 36 kB / 0.5772 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3578, allocations: 27.97 kB / 0.5772 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3578, allocations: 3.984 kB / 0.5772 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3578, allocations: 8 kB / 0.5773 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.3578, allocations: 4 kB / 0.5773 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3578, allocations: 7.875 kB / 0.5773 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.3588, allocations: 0.619 MB / 0.5779 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3589, allocations: 59.58 kB / 0.5779 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.3589, allocations: 8 kB / 0.5779 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.3592, allocations: 15.98 kB / 0.5779 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.3593, allocations: 27.91 kB / 0.578 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3594, allocations: 15.98 kB / 0.578 GB, free: 2.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004703/0.3598, allocations: 410.8 kB / 0.5784 GB, free: 1.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 0.5784 GB, free: 1.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006971/0.3605, allocations: 183.5 kB / 0.5786 GB, free: 1.602 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.00163/0.3622, allocations: 1.307 MB / 0.5798 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3632, allocations: 0.6569 MB / 0.5805 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3632, allocations: 4.062 kB / 0.5805 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.3638, allocations: 482.8 kB / 0.5809 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.3645, allocations: 109.2 kB / 0.581 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.3721, allocations: 5.409 MB / 0.5863 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.3726, allocations: 0.8818 MB / 0.5872 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.3729, allocations: 79.33 kB / 0.5873 GB, free: 8.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.3731, allocations: 139.3 kB / 0.5874 GB, free: 8.16 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3731, allocations: 3.938 kB / 0.5874 GB, free: 8.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04719/0.4203, allocations: 14.55 MB / 0.6016 GB, free: 9.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.07, allocations: 15.84 kB / 0.6016 GB, free: 9.75 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.1996850669384]