Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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.001316/0.001316, allocations: 114 kB / 20.43 MB, free: 1.457 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.001424/0.001424, allocations: 215.5 kB / 23.74 MB, free: 4.672 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2326/0.2326, allocations: 46.91 MB / 360.8 MB, free: 4.25 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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 75.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.322, allocations: 66.09 MB / 0.5608 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003129/0.3252, allocations: 1.803 MB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3266, allocations: 0.8578 MB / 0.5634 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.3266, allocations: 4 kB / 0.5634 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.3269, allocations: 47.73 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3271, allocations: 71.66 kB / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.3274, allocations: 75.72 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3276, allocations: 155.3 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.3277, allocations: 9.062 kB / 0.5637 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.3278, allocations: 67.7 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.328, allocations: 79.67 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.328, allocations: 7.984 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.3283, allocations: 167.6 kB / 0.564 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.3284, allocations: 39.89 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.3284, allocations: 51.61 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.3288, allocations: 209 kB / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3288, allocations: 4 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3288, allocations: 0 / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3288, allocations: 3.938 kB / 0.5643 GB, free: 0.6367 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007121/0.3295, allocations: 373.6 kB / 0.5647 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3295, allocations: 8.031 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.3296, allocations: 50.72 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3296, allocations: 20.83 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3299, allocations: 148.6 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3299, allocations: 8.312 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3299, allocations: 11.94 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.3303, allocations: 177.5 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3303, allocations: 0 / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3303, allocations: 8 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.3303, allocations: 11.98 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.3307, allocations: 167.8 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.3315, allocations: 463.2 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3319, allocations: 150.5 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3321, allocations: 56.75 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.3321, allocations: 3.984 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3321, allocations: 34.56 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3321, allocations: 0 / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006246/0.3327, allocations: 201.4 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3328, allocations: 51.41 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.3331, allocations: 199.5 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.3331, allocations: 29.7 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.3332, allocations: 116.5 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.3332, allocations: 39.75 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3333, allocations: 21.72 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3334, allocations: 330.8 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3336, allocations: 59.81 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3337, allocations: 70.52 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.334, allocations: 130.4 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.334, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003597/0.3344, allocations: 161.4 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3344, allocations: 16.05 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3344, allocations: 0 / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3344, allocations: 0 / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3347, allocations: 47.98 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008132/0.3355, allocations: 1.223 MB / 0.5685 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3356, allocations: 15.91 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3356, allocations: 4 kB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.3358, allocations: 141.8 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.3359, allocations: 19.78 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.3363, allocations: 179 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3363, allocations: 4.062 kB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3363, allocations: 4 kB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3363, allocations: 0 / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.3366, allocations: 204.4 kB / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3366, allocations: 0 / 0.5691 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.3368, allocations: 39.98 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3368, allocations: 3.984 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.3369, allocations: 4 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/0.3376, allocations: 1.223 MB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3376, allocations: 4 kB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.338, allocations: 243.6 kB / 0.5705 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.3381, allocations: 24.03 kB / 0.5706 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3381, allocations: 7.875 kB / 0.5706 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3382, allocations: 4 kB / 0.5706 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.3383, allocations: 15.91 kB / 0.5706 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3383, allocations: 7.984 kB / 0.5706 GB, free: 9.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3384, allocations: 149.1 kB / 0.5707 GB, free: 9.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3384, allocations: 0 / 0.5707 GB, free: 9.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3387, allocations: 51.88 kB / 0.5708 GB, free: 9.598 MB / 414.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008317/0.3396, allocations: 0.8137 MB / 0.5716 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005108/0.3401, allocations: 143.8 kB / 0.5717 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3401, allocations: 0 / 0.5717 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.3404, allocations: 83.88 kB / 0.5718 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3407, allocations: 28.58 kB / 0.5718 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.3435, allocations: 2.164 MB / 0.5739 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3439, allocations: 0.7318 MB / 0.5747 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.344, allocations: 33.05 kB / 0.5747 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.3441, allocations: 35.42 kB / 0.5747 GB, free: 5.426 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3441, allocations: 0 / 0.5747 GB, free: 5.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.3753, allocations: 4.753 MB / 0.5794 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.67, allocations: 4 kB / 0.5794 GB, free: 0.8164 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.662078140070662]