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.001783/0.001783, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002087/0.002087, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2342/0.2342, allocations: 46.94 MB / 360.8 MB, free: 3.93 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.00244/0.00244, allocations: 83.86 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3207, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003936/0.3247, allocations: 2.135 MB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.3281, allocations: 1.927 MB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.3282, allocations: 4 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.3285, allocations: 67.53 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.3288, allocations: 103.4 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.33, allocations: 450.2 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000607/0.3306, allocations: 0.5054 MB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.3307, allocations: 21.28 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.331, allocations: 191 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.3313, allocations: 202.9 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.3313, allocations: 20 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007082/0.332, allocations: 375.4 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3322, allocations: 107.4 kB / 0.5667 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.3323, allocations: 159 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009738/0.3333, allocations: 0.7486 MB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3333, allocations: 0 / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3333, allocations: 0 / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3333, allocations: 0 / 0.5675 GB, free: 13.01 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.001381/0.3347, allocations: 0.7502 MB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3347, allocations: 12.03 kB / 0.5683 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.3349, allocations: 94.7 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.3353, allocations: 84.56 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.3358, allocations: 262.5 kB / 0.5687 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.3358, allocations: 37.38 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.3359, allocations: 47.94 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.337, allocations: 0.7 MB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.337, allocations: 4 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.337, allocations: 20 kB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.3371, allocations: 21 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009708/0.3381, allocations: 0.496 MB / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.3403, allocations: 1.414 MB / 0.5714 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.3409, allocations: 303.6 kB / 0.5717 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.3413, allocations: 150.4 kB / 0.5718 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.3413, allocations: 16.11 kB / 0.5718 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3414, allocations: 38.56 kB / 0.5719 GB, free: 8.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.3414, allocations: 0 / 0.5719 GB, free: 8.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001287/0.3427, allocations: 0.5126 MB / 0.5724 GB, free: 7.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.3427, allocations: 111.1 kB / 0.5725 GB, free: 7.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006951/0.3434, allocations: 0.5759 MB / 0.573 GB, free: 7.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.3435, allocations: 29.7 kB / 0.5731 GB, free: 7.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3437, allocations: 232.4 kB / 0.5733 GB, free: 6.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.3437, allocations: 75.33 kB / 0.5734 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.3439, allocations: 89.64 kB / 0.5734 GB, free: 6.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3441, allocations: 362.8 kB / 0.5738 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.3444, allocations: 143.8 kB / 0.5739 GB, free: 6.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.3449, allocations: 261.6 kB / 0.5742 GB, free: 5.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000842/0.3457, allocations: 431.8 kB / 0.5746 GB, free: 5.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3457, allocations: 0 / 0.5746 GB, free: 5.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001026/0.3468, allocations: 480.8 kB / 0.575 GB, free: 4.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3468, allocations: 12.38 kB / 0.5751 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.11e-05/0.3469, allocations: 43.98 kB / 0.5751 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3469, allocations: 8 kB / 0.5751 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.3471, allocations: 31.91 kB / 0.5751 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.3471, allocations: 11.98 kB / 0.5751 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.3474, allocations: 67.44 kB / 0.5752 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3474, allocations: 20 kB / 0.5752 GB, free: 4.789 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.0002809/0.3477, allocations: 225.6 kB / 0.5754 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3478, allocations: 51.61 kB / 0.5755 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.3488, allocations: 465.5 kB / 0.5759 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.3488, allocations: 4 kB / 0.5759 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3488, allocations: 0 / 0.5759 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3488, allocations: 3.938 kB / 0.5759 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.3494, allocations: 348.5 kB / 0.5763 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-05/0.3495, allocations: 39.98 kB / 0.5763 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.3496, allocations: 23.97 kB / 0.5763 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3496, allocations: 4 kB / 0.5763 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.3496, allocations: 19.94 kB / 0.5764 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3496, allocations: 0 / 0.5764 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3496, allocations: 7.875 kB / 0.5764 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.3506, allocations: 0.6268 MB / 0.577 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3508, allocations: 55.59 kB / 0.577 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.3508, allocations: 0 / 0.577 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3511, allocations: 27.97 kB / 0.5771 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.3512, allocations: 23.92 kB / 0.5771 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.3512, allocations: 15.98 kB / 0.5771 GB, free: 2.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004767/0.3517, allocations: 414.8 kB / 0.5775 GB, free: 2.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3517, allocations: 0 / 0.5775 GB, free: 2.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006434/0.3523, allocations: 175.6 kB / 0.5777 GB, free: 2.223 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.001744/0.3541, allocations: 1.311 MB / 0.5789 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3552, allocations: 0.653 MB / 0.5796 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3552, allocations: 0 / 0.5796 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.3558, allocations: 490.8 kB / 0.58 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.3565, allocations: 97.89 kB / 0.5801 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.3649, allocations: 5.412 MB / 0.5854 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3652, allocations: 284 kB / 0.5857 GB, free: 9.617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.3655, allocations: 75.33 kB / 0.5858 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.3657, allocations: 139.3 kB / 0.5859 GB, free: 9.402 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3657, allocations: 11.94 kB / 0.5859 GB, free: 9.391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04802/0.4137, allocations: 15.54 MB / 0.6011 GB, free: 10.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 7.312 kB / 0.6011 GB, free: 10.08 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: 14.713832096196711]